mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-05 07:28:16 -07:00
autoversion css
This commit is contained in:
@@ -12,6 +12,7 @@ import zlib
|
||||
from pony.flask import Pony
|
||||
from flask import Flask, request, redirect, url_for, render_template, Response, session, abort, flash
|
||||
from flask_caching import Cache
|
||||
from flaskext.autoversion import Autoversion
|
||||
|
||||
from .models import *
|
||||
|
||||
@@ -39,7 +40,8 @@ app.config["PONY"] = {
|
||||
'create_db': True
|
||||
}
|
||||
app.config["CACHE_TYPE"] = "simple"
|
||||
|
||||
app.autoversion = True
|
||||
av = Autoversion(app)
|
||||
cache = Cache(app)
|
||||
|
||||
# this local cache is risky business if app hosting is done with subprocesses as it will not sync. Waitress is fine though
|
||||
|
||||
Reference in New Issue
Block a user