Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
ws-sacpz-resp
Commits
ff01ef86
Commit
ff01ef86
authored
Jun 18, 2020
by
Jerome Touvier
Browse files
test routes
parent
d9a10c6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
apps/constants.py
View file @
ff01ef86
VERSION
=
"1.0.
0
"
VERSION
=
"1.0.
1
"
parameters
=
{
...
...
start_resp.py
View file @
ff01ef86
...
...
@@ -6,8 +6,8 @@ from flask import Flask, make_response, render_template, redirect, request
from
apps.constants
import
VERSION
from
apps.root
import
output
app
=
Flask
(
__name__
)
app
.
wsgi_app
=
ReverseProxied
(
app
.
wsgi_app
,
script_name
=
'
/resifws/resp
'
)
app
=
Flask
(
__name__
,
APPLICATION_ROOT
=
"/resifws/resp"
)
app
.
config
[
"APPLICATION_ROOT"
]
=
"
/resifws/resp
"
fmt
=
"[%(asctime)s] %(levelname)s [%(filename)s:%(lineno)d] [%(funcName)s] %(message)s"
loglevel
=
logging
.
INFO
if
os
.
environ
.
get
(
"RUNMODE"
)
==
"prodution"
else
logging
.
DEBUG
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment