nice-bill's picture
Readme updated
2d773b1
raw
history blame contribute delete
232 Bytes
import os
class Settings:
HOST = os.getenv("API_HOST", "localhost")
PORT = int(os.getenv("API_PORT", 8001))
@property
def BASE_URL(self):
return f"http://{self.HOST}:{self.PORT}"
settings = Settings()