mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-03 08:19:54 +00:00
[AB-xxx] fixing not serving static files
This commit is contained in:
@@ -7,7 +7,7 @@ import importlib
|
|||||||
FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
||||||
logging.basicConfig(encoding='utf-8', level=logging.INFO, format=FORMAT)
|
logging.basicConfig(encoding='utf-8', level=logging.INFO, format=FORMAT)
|
||||||
template_dir = os.path.abspath('resources/templates')
|
template_dir = os.path.abspath('resources/templates')
|
||||||
app = Flask(__name__, template_folder=template_dir)
|
app = Flask(__name__, template_folder=template_dir, static_url_path='', static_folder=template_dir)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append("..")
|
sys.path.append("..")
|
||||||
|
|||||||
Reference in New Issue
Block a user