Some additional HTML layer stuff.
This commit is contained in:
parent
d6ba934955
commit
026f7aff64
8 changed files with 302 additions and 114 deletions
|
|
@ -18,6 +18,9 @@ def create_app():
|
|||
Base.metadata.create_all(engine)
|
||||
app.register_blueprint(make_json_blueprint(session_factory, registry), url_prefix="/api")
|
||||
app.register_blueprint(make_fragments_blueprint(session_factory, registry), url_prefix="/ui")
|
||||
@app.get("/demo")
|
||||
def demo():
|
||||
return render_template("demo.html")
|
||||
return app
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue