mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-07 07:16:53 -06:00
default 0 access count, added mini logging prints, fixed minor fails and mostly ready to implement proxies
This commit is contained in:
3
wsgi.py
3
wsgi.py
@@ -1,9 +1,10 @@
|
||||
from app import app, db
|
||||
from app.models import User, Post, Search
|
||||
from app.sound_models import YouTubeAudio, SoundcloudAudio
|
||||
|
||||
@app.shell_context_processor
|
||||
def make_shell_context():
|
||||
return {'db' : db, 'User' : User, 'Post' : Post, 'Search' : Search}
|
||||
return {'db' : db, 'User' : User, 'Post' : Post, 'Search' : Search, 'YouTubeAudio' : YouTubeAudio, 'SoundcloudAudio' : SoundcloudAudio}
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0")
|
||||
|
||||
Reference in New Issue
Block a user