COSCUP-ap-demo/demo/config.py.simple

15 lines
333 B
Text
Raw Normal View History

2023-07-08 10:37:12 +02:00
"Store App settings"
2023-07-11 16:11:51 +02:00
from pathlib import Path
_ROOT_DIR = Path().parent.resolve()
KEY_PATH = _ROOT_DIR / "data" / "key.pem"
2023-07-06 18:35:08 +02:00
USER_AGENT = "COSCUP-demo"
AP_CONTENT_TYPE = "application/activity+json"
2023-07-06 17:49:39 +02:00
USERNAME = "foo"
DOMAIN = "localhost"
SCHEME = "http"
ID = f"{SCHEME}://{DOMAIN}/user/{USERNAME}"
2023-07-08 10:37:12 +02:00
BASE_URL = f"{SCHEME}://{DOMAIN}/"