renamed /hosted/ to /room/

remove no longer used options
allow loading of json data files from webhost when it gets run by gunicorn and similar
This commit is contained in:
Fabian Dill
2021-07-24 14:08:45 +02:00
parent af30d8b7cd
commit 78f565c706
3 changed files with 5 additions and 3 deletions

View File

@@ -6,6 +6,10 @@ import ModuleUpdate
ModuleUpdate.requirements_files.add(os.path.join("WebHostLib", "requirements.txt"))
ModuleUpdate.update()
# in case app gets imported by something like gunicorn
import Utils
Utils.local_path.cached_path = os.path.dirname(__file__)
from WebHostLib import app as raw_app
from waitress import serve