mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-07-25 22:00:57 +02:00
service layer tests
This commit is contained in:
@@ -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}"
|
||||
Reference in New Issue
Block a user