Skip to content

Commit

Permalink
Merge branch 'valevo:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer authored Apr 2, 2024
2 parents 0fb0c8f + 4f41a9a commit cd3e7f1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docker/src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
Compress(app)

# !!! comment out for production !!!
app.config["DEBUG"] = True
# app.config["DEBUG"] = True

from datasets import NMvW, OpenBeelden
print("datasets loaded", flush=True)
Expand Down Expand Up @@ -265,7 +265,9 @@ def _get_url(cur_d, cur_e, cur_o):
}

param_dict = quote(json.dumps(param_dict), safe="")
api = quote("https://sabio.diginfra.net/api/v1/", safe="")
# api = quote("https://sabio.diginfra.net/api/v1/", safe="")
api = quote("https://sabio.netwerkdigitaalerfgoed.nl/api/v1/", safe="")

view, attribute = "scatterplot", "0"

cur_ObjectID = cur_o.name
Expand All @@ -292,8 +294,9 @@ def get_examples():

return jsonify({"examples": examples})

if __name__ == "__main__":
app.run(debug=True)

# if __name__ == "__main__":
# app.run(debug=True)



Expand Down

0 comments on commit cd3e7f1

Please sign in to comment.