diff options
author | Determinant <ted.sybil@gmail.com> | 2014-12-29 00:34:16 +0800 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2014-12-29 00:34:16 +0800 |
commit | 4c7c9dcdfd05a2d9648756c0da5c68588929ba5d (patch) | |
tree | 2c1681ad60e1469b4dda7a2ab6a0d03637dbde1e /lab_monitor_server.py | |
parent | 5dc3a3b043a990fc58a4ead74c2c5c92e910727d (diff) |
restructured the project
Diffstat (limited to 'lab_monitor_server.py')
-rw-r--r-- | lab_monitor_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lab_monitor_server.py b/lab_monitor_server.py index da707b8..4207eb9 100644 --- a/lab_monitor_server.py +++ b/lab_monitor_server.py @@ -155,8 +155,8 @@ class AJAXHandler(RequestHandler): yield gen.Task(grab_lock, self) try: app = Application([url(r"/ajax", AJAXHandler), - url(r'/()', StaticFileHandler, {'path': "./index.html"}), - url(r'/(.*)', StaticFileHandler, {'path': "./"})]) + url(r'/()', StaticFileHandler, {'path': "./static/index.html"}), + url(r'/(.*)', StaticFileHandler, {'path': "./static/"})]) app.listen(PORT) IOLoop.current().start() except KeyboardInterrupt: |