diff bin/rdfdb @ 1309:d5c834766ce9

rdfdb xhtml -> html Ignore-this: a82386c15ae7789b56b56ac4e8208d28
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 30 May 2016 22:03:23 +0000
parents 2c0c3aec0d63
children a214a9d6f2f0
line wrap: on
line diff
--- a/bin/rdfdb	Mon May 30 21:52:47 2016 +0000
+++ b/bin/rdfdb	Mon May 30 22:03:23 2016 +0000
@@ -399,10 +399,10 @@
         self.sendMessage(message)
 
 class NoExts(cyclone.web.StaticFileHandler):
-    # .xhtml pages can be get() without .xhtml on them
+    # .html pages can be get() without .html on them
     def get(self, path, *args, **kw):
         if path and '.' not in path:
-            path = path + ".xhtml"
+            path = path + ".html"
         cyclone.web.StaticFileHandler.get(self, path, *args, **kw)
 
 if __name__ == "__main__":
@@ -430,7 +430,7 @@
 
         (r'/(.*)', NoExts,
          {"path" : "light9/rdfdb/web",
-          "default_filename" : "index.xhtml"}),
+          "default_filename" : "index.html"}),
 
         ], debug=True, db=db))
     log.info("serving on %s" % networking.rdfdb.port)