summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'index.py')
-rwxr-xr-xindex.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/index.py b/index.py
index 9263ea5..74e3e3a 100755
--- a/index.py
+++ b/index.py
@@ -3,11 +3,23 @@
import web
import controller
-urls = ( "/(.*)", "controller.Page")
+#
+# URL Mappings
+#
+urls = (
+ "/(.*)", "controller.Page"
+ )
+
+#
+# The App
+#
app = web.application(urls, globals())
app.notfound = controller.FourOhFour
+# debug for the moment
web.config.debug = True
+#
+# And go!
if __name__ == "__main__":
app.run()