fix [server]: neater dev/prod settings

This commit is contained in:
Alice 2022-07-13 01:56:51 +02:00
parent b16d7e31ae
commit 64fbfe376b

View file

@ -0,0 +1,6 @@
import os
IS_LOCAL_DEV = bool(os.environ.get("TELESCOOP_DEV"))
if IS_LOCAL_DEV:
from .dev import *
else:
from .production import *