From 41e694d87b1d56cb633b5d71e78856f80fcc0401 Mon Sep 17 00:00:00 2001 From: GM Date: Fri, 10 Feb 2023 22:11:02 +0000 Subject: [PATCH] fix static files --- backend/server.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/server.py b/backend/server.py index 8017a2a..32271ae 100644 --- a/backend/server.py +++ b/backend/server.py @@ -39,10 +39,11 @@ static_files={ # '/robots.txt': {'content_type': 'text/html', 'filename': 'robots.txt'}, '/favicon.ico': {'filename': 'favicon.ico'}, '/img/icons': './img/icons', - '/manifest.json': {'filename': 'manifest.json'}, - '/css': './css', - '/media': './media', - '/js': './js', + '/manifest.webmanifest': {'filename': 'manifest.webmanifest'}, + '/assets':'./assets', + #'/css': './css', + #'/media': './media', + #'/js': './js', } if "UseRobots" in os.environ and os.environ['UseRobots'].upper() == "TRUE": static_files['/robots.txt'] = {'content_type': 'text/html', 'filename': 'robots.txt'}