atharvawarade9807 commited on
Commit
febf50c
·
verified ·
1 Parent(s): b50534a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -4
main.py CHANGED
@@ -53,6 +53,11 @@ except Exception as e:
53
  # 3. INITIALIZE MASTER APP GATEWAY
54
  # =====================================================================
55
  from fastapi.middleware.cors import CORSMiddleware
 
 
 
 
 
56
  app.add_middleware(
57
  CORSMiddleware,
58
  allow_origins=["http://localhost:8000", "http://127.0.0.1:8000"],
@@ -60,10 +65,6 @@ app.add_middleware(
60
  allow_methods=["*"],
61
  allow_headers=["*"],
62
  )
63
- app = FastAPI(
64
- title="Master Threat Intelligence Hub Gateway",
65
- description="The ultimate, fully unified routing architecture managing deployments: V1, V2, V3, V4, V5, and V6."
66
- )
67
 
68
  OUTPUT_DIR = os.path.join(CURRENT_BASE_DIR, "output")
69
  os.makedirs(OUTPUT_DIR, exist_ok=True)
 
53
  # 3. INITIALIZE MASTER APP GATEWAY
54
  # =====================================================================
55
  from fastapi.middleware.cors import CORSMiddleware
56
+ app = FastAPI(
57
+ title="Master Threat Intelligence Hub Gateway",
58
+ description="The ultimate, fully unified routing architecture managing deployments: V1, V2, V3, V4, V5, and V6."
59
+ )
60
+
61
  app.add_middleware(
62
  CORSMiddleware,
63
  allow_origins=["http://localhost:8000", "http://127.0.0.1:8000"],
 
65
  allow_methods=["*"],
66
  allow_headers=["*"],
67
  )
 
 
 
 
68
 
69
  OUTPUT_DIR = os.path.join(CURRENT_BASE_DIR, "output")
70
  os.makedirs(OUTPUT_DIR, exist_ok=True)