Refactors Project for More Declarative Package Name

This commit is contained in:
2023-08-18 03:25:30 -03:00
parent 2bd7ae10b9
commit f3e77889a2
29 changed files with 108 additions and 80 deletions

View File

@@ -0,0 +1,11 @@
from dotenv import load_dotenv
import os
def get_config_server():
load_dotenv()
return {
"host": os.environ.get("SERVER_HOST", "0.0.0.0"),
"port": int(os.environ.get("SERVER_PORT", 8000)),
}