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
Kacprzak, Izabella
DRP-InAGlobe-Platform
Commits
90fe7a3e
Commit
90fe7a3e
authored
Jun 03, 2021
by
ras19
Browse files
Run flask object inside if statement specifying that name is main[RS]
parent
377dd86d
Pipeline
#198957
passed with stages
in 1 minute and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
backend/main.py
View file @
90fe7a3e
...
...
@@ -6,4 +6,5 @@ app = Flask(__name__)
def
my_index
():
return
render_template
(
"index.html"
,
token
=
"DRP_token"
)
app
.
run
(
debug
=
True
)
\ No newline at end of file
if
__name__
==
"__main__"
:
app
.
run
(
debug
=
True
)
\ No newline at end of file
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