You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-07-17 01:32:29 +02:00
Added checks to SETUP to make sure JavaScript is enabled and that all JS files could be loaded when loading the site page.
The setup site malfunctions if this is not the case. Regular expression for checking the Mailu storage path was invalid.
This commit is contained in:
@ -10,12 +10,14 @@ import random
|
||||
import ipaddress
|
||||
import hashlib
|
||||
import time
|
||||
|
||||
from flask_bootstrap import StaticCDN
|
||||
|
||||
version = os.getenv("this_version", "master")
|
||||
static_url_path = "/" + version + "/static"
|
||||
app = flask.Flask(__name__, static_url_path=static_url_path)
|
||||
flask_bootstrap.Bootstrap(app)
|
||||
# Load our jQuery. Do not use jQuery 1.
|
||||
app.extensions['bootstrap']['cdns']['jquery'] = StaticCDN()
|
||||
db = redis.StrictRedis(host='redis', port=6379, db=0)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user