mirror of
https://github.com/hackspace-marburg/flaggenschnapp.git
synced 2025-12-24 17:31:02 +01:00
15 lines
280 B
Python
15 lines
280 B
Python
from urllib.parse import urljoin
|
|
|
|
global HOST
|
|
global PORT
|
|
global API_PROTO
|
|
global LOG_LEVEL
|
|
global BASE_PATH
|
|
global TREASURE_PATH
|
|
global USER_DATA_PATH
|
|
global WINNER_MAIL_ADDRESS
|
|
|
|
|
|
def riddle_url(route: str) -> str:
|
|
return urljoin(f'{API_PROTO}://{HOST}:{PORT}/', f'{route}')
|