From 24890b372220620692d32178146c3909c41d3fd6 Mon Sep 17 00:00:00 2001 From: Mart van Santen Date: Tue, 22 Mar 2022 17:35:15 +0800 Subject: [PATCH] Make static path under /web --- app.py | 2 +- templates/base.html | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app.py b/app.py index d95a7e7..313fce1 100644 --- a/app.py +++ b/app.py @@ -33,7 +33,7 @@ from helpers import ( from config import * import logging -app = Flask(__name__) +app = Flask(__name__, static_url_path = '/web/static') cors = CORS(app) diff --git a/templates/base.html b/templates/base.html index 64463f9..9d5765f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,11 +1,11 @@ - - - - - - + + + + + + Stackspin Account @@ -32,7 +32,7 @@ style='display:none'>Your request is expired. Please resubmit your request faster. -

+

{% block content %}{% endblock %}