fix: db revamp, add relations, annotate the db
also allows for request retrieval, and adds decorator for authed access
This commit is contained in:
@@ -72,7 +72,7 @@ def setup():
|
||||
app.add_url_rule('/api/', view_func=lewy_api.api_greeting)
|
||||
app.add_url_rule('/api/<path:received_request>', view_func=lewy_api.api_global_catchall)
|
||||
|
||||
db = lewy_db.initDB(app, config)
|
||||
db = lewy_globals.setupDb(app, config)
|
||||
scrape = scraper()
|
||||
|
||||
with app.app_context():
|
||||
|
||||
Reference in New Issue
Block a user