]> git.gag.com Git - fw/quantimotor/commitdiff
enable serving static files so jquery can be locally loaded
authorBdale Garbee <bdale@gag.com>
Mon, 21 Apr 2025 08:31:39 +0000 (08:31 +0000)
committerBdale Garbee <bdale@gag.com>
Mon, 21 Apr 2025 08:31:39 +0000 (08:31 +0000)
application/app.py

index cf6e55b434b9042bdf56dde7f622b5bf7558084c..c48af50bd9eb2559f594cab7dfff7f566f20eca5 100755 (executable)
@@ -15,7 +15,12 @@ config = {
   'global' : {
     'server.socket_host' : '0.0.0.0',
     'server.socket_port' : 80,
-    'server.thread_pool' : 8
+    'server.thread_pool' : 8,
+  },
+  '/': {
+    'tools.staticdir.on': True,
+    'tools.staticdir.dir': path,
+    'tools.staticdir.index': 'index.html'
   }
 }