Skip to content

Commit 95bce7c

Browse files
authored
Merge pull request #29 from I3S-ESSnet/feature/codelistservice-resources
added resource folder for easier mounting in container
2 parents edf98da + c6c069d commit 95bce7c

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Scenario_1/2_Results/CodeListService/codelistservice/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def index():
99

1010
@app.route("/countries")
1111
def countries():
12-
f = open("code-list.json")
12+
f = open("resources/countries.json")
1313
data = "".join(f.readlines())
1414
return(Response(data, mimetype="application/json"))
1515

Scenario_1/2_Results/CodeListService/codelistservice/code-list.json renamed to Scenario_1/2_Results/CodeListService/codelistservice/resources/countries.json

File renamed without changes.

0 commit comments

Comments
 (0)