From 140fd6f6ede3c6ea5046cbe2c3603aeda7993c41 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Mon, 21 Apr 2025 08:31:39 +0000 Subject: [PATCH] enable serving static files so jquery can be locally loaded --- application/app.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/app.py b/application/app.py index cf6e55b..c48af50 100755 --- a/application/app.py +++ b/application/app.py @@ -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' } } -- 2.47.2