14 lines
243 B
Python
14 lines
243 B
Python
import os
|
|
import sys
|
|
|
|
DOMAIN_NAME = "crm.logidex.ru"
|
|
API_ROOT = "/api"
|
|
|
|
APP_PATH = (
|
|
os.path.dirname(sys.executable)
|
|
if getattr(sys, "frozen", False)
|
|
else os.path.dirname(__file__)
|
|
)
|
|
|
|
STATIC_PATH = os.path.join(APP_PATH, "static")
|