service layer tests

This commit is contained in:
Adam Wilson
2025-06-12 20:22:39 -06:00
parent bc1093988b
commit 0b6b7b79b9
5 changed files with 51 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
import os
def get_api_url():
host = os.environ.get("API_HOST", "localhost")
port = 9999 if host == "localhost" else 80
return f"http://{host}:{port}"