diff bin/picamserve @ 1212:95dfce5c12ce

rearrange /static. new bin/homepage Ignore-this: 2b17aa8e74a9c052a9a93704e85287b1
author drewp@bigasterisk.com
date Sun, 07 Jun 2015 22:42:33 +0000
parents 0440fb0f458b
children 73efcda34af2
line wrap: on
line diff
--- a/bin/picamserve	Sat Jun 06 19:14:14 2015 +0000
+++ b/bin/picamserve	Sun Jun 07 22:42:33 2015 +0000
@@ -165,7 +165,7 @@
     reactor.listenTCP(port, cyclone.web.Application(handlers=[
         (r'/pic', Pic),
         (r'/pics', Pics),
-        (r'/static/(.*)', cyclone.web.StaticFileHandler, {'path': 'static/'}),
+        (r'/static/(.*)', cyclone.web.StaticFileHandler, {'path': 'light9/web/'}),
         (r'/(|gui.js)', cyclone.web.StaticFileHandler, {'path': 'light9/vidref/',
                                                  'default_filename': 'index.html'}),
         ], debug=True, camera=camera))