Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Schwieger, Jana
lab-rest
Commits
d67599d9
Commit
d67599d9
authored
Mar 27, 2021
by
Jana Schwieger
Browse files
api
parent
68361003
Pipeline
#38057
failed with stages
in 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
api/api.py
View file @
d67599d9
...
...
@@ -5,6 +5,6 @@ app = flask.Flask(__name__)
@
app
.
route
(
'/'
,
methods
=
[
'GET'
])
def
home
():
return
"<h1>Distant Reading Archive</h1><p>This site is a prototype API for distant reading of science fiction novels.</p>"
return
"<h1>Distant Reading Archive
2.0
</h1><p>This site is a prototype API for distant reading of science fiction novels.</p>"
app
.
run
(
host
=
"0.0.0.0"
)
\ No newline at end of file
Write
Preview
Markdown
is supported
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