MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / static_file

Function static_file

main.py:441–448  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

439@app.route("/privacy")
440@app.route("/tos")
441def static_file():
442 return make_response(render_template(
443 request.path.strip("/") + ".html",
444 domain_data=get_domain_data(),
445 all_data=constants.DOMAIN_DATA,
446 domain_data_json=json.dumps(get_domain_data()),
447 language_code="en",
448 ))
449
450@app.route("/signin")
451def signin():

Callers

nothing calls this directly

Calls 1

get_domain_dataFunction · 0.85

Tested by

no test coverage detected