Open TWry opened 9 years ago
It appears that rest_toolkit is having an error serving up static assets. The quick_serve function publishes the current working directory under a static view of “static”, or at least that’s what this line says it is doing in pdb:
https://github.com/wichert/rest_toolkit/blob/master/src/rest_toolkit/__init__.py#L286 https://github.com/wichert/rest_toolkit/blob/master/src/rest_toolkit/__init__.py#L286
The demo itself is working ok, as this:
http://localhost:8088/todos http://localhost:8088/todos
…returns JSON.
—Paul
On Aug 28, 2015, at 2:32 AM, TWry notifications@github.com wrote:
When running python app.py, I'm getting the following result in the browser when visiting http://localhost:8088/static/index.html:
{"message": "http://localhost:8088/static/index.html"}
I tried the Angular hello_world and the angular_todo demos.
— Reply to this email directly or view it on GitHub https://github.com/wichert/rest_toolkit/issues/17.
is there a solution?
When running python app.py, I'm getting the following result in the browser when visiting http://localhost:8088/static/index.html:
{"message": "http://localhost:8088/static/index.html"}
I tried the Angular hello_world and the angular_todo demos.