pull/583/head
Mr Chen 12 months ago
parent 438322361d
commit eb8c2b6ad5
  1. 25
      .gitignore
  2. 3
      route/__init__.py

25
.gitignore vendored

@ -87,6 +87,7 @@ venv/
ENV/
env.bak/
venv.bak/
lib/python*
# Spyder project settings
.spyderproject
@ -98,6 +99,12 @@ venv.bak/
# mkdocs documentation
/site
bin
pyvenv.cfg
include
share
pip-selfcheck.json
# mypy
.mypy_cache/
@ -122,27 +129,17 @@ data/default.pl
data/backup.pl
data/debug.pl
data/default_site.pl
ssl/input.pl
lib/python*
bin
pyvenv.cfg
include
share
pip-selfcheck.json
data/ssl.pl
scripts/init.d/mw
scripts/mdserver-web
data/api_login.txt
data/sessions
data/ssl.pl
data/port.pl
data/ipv6.pl
data/restart.pl
data/ssl.pl
data/edate.pl
data/osname.pl
data/only_netio_counters.pl
@ -156,6 +153,10 @@ data/bind_domain.pl
data/unauthorized_status.pl
data/auth_secret.pl
ssl/local
ssl/nginx
ssl/choose.pl
plugins/vip_*
plugins/own_*
plugins/my_*

@ -60,8 +60,7 @@ try:
sdb.create_all()
except:
app.config['SESSION_TYPE'] = 'filesystem'
app.config['SESSION_FILE_DIR'] = '/tmp/py_mw_session_' + \
str(sys.version_info[0])
app.config['SESSION_FILE_DIR'] = '/tmp/py_mw_session_' + str(sys.version_info[0])
app.config['SESSION_FILE_THRESHOLD'] = 1024
app.config['SESSION_FILE_MODE'] = 384

Loading…
Cancel
Save