Moved some scripts to a utils folder

Renamed upload route to file as its more approprete
Fixed random CSS issues that occur on older browsers or Safari
This commit is contained in:
Michał Gdula 2023-03-14 22:07:17 +00:00
parent 9cfb8befd2
commit 3008a55899
19 changed files with 102 additions and 76 deletions

View file

@ -13,6 +13,8 @@ from flask_caching import Cache
from flask_assets import Environment, Bundle
from flask import Flask, render_template
from gallery.utils import theme_manager
# Configuration
from dotenv import load_dotenv
import platformdirs
@ -61,7 +63,6 @@ def create_app(test_config=None):
pass
# Load theme
from . import theme_manager
theme_manager.CompileTheme('default', app.root_path)
# Bundle JS files