mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Clean up theme compiler and thumbnail generation
Fix signup not clearning blanks - Thanks to Fennec
This commit is contained in:
parent
0e24004c0b
commit
95e5f3938f
7 changed files with 55 additions and 73 deletions
|
@ -60,7 +60,7 @@ def create_app(test_config=None):
|
|||
app.config.from_mapping(test_config)
|
||||
|
||||
# Load theme
|
||||
theme_manager.CompileTheme('default', app.root_path)
|
||||
theme_manager.compile_theme('default', app.root_path)
|
||||
|
||||
# Bundle JS files
|
||||
js_scripts = Bundle('js/*.js', output='gen/packed.js')
|
||||
|
@ -82,7 +82,7 @@ def create_app(test_config=None):
|
|||
app.register_blueprint(auth.blueprint)
|
||||
|
||||
# Load the different routes
|
||||
from .routes import api, groups, routing, settings
|
||||
from gallery.routes import api, groups, routing, settings
|
||||
app.register_blueprint(api.blueprint)
|
||||
app.register_blueprint(groups.blueprint)
|
||||
app.register_blueprint(routing.blueprint)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue