Niansuh commited on
Commit
3a87070
·
verified ·
1 Parent(s): c8d2614

Update api/app.py

Browse files
Files changed (1) hide show
  1. api/app.py +4 -6
api/app.py CHANGED
@@ -1,5 +1,3 @@
1
- # api/app.py
2
-
3
  from fastapi import FastAPI, Request
4
  from starlette.middleware.cors import CORSMiddleware
5
  from fastapi.responses import JSONResponse
@@ -10,10 +8,10 @@ logger = setup_logger(__name__)
10
 
11
  def create_app():
12
  app = FastAPI(
13
- title="GizAI API",
14
- docs_url="/docs", # Enable Swagger UI
15
- redoc_url="/redoc", # Enable ReDoc
16
- openapi_url="/openapi.json",
17
  )
18
 
19
  # CORS settings
 
 
 
1
  from fastapi import FastAPI, Request
2
  from starlette.middleware.cors import CORSMiddleware
3
  from fastapi.responses import JSONResponse
 
8
 
9
  def create_app():
10
  app = FastAPI(
11
+ title="NiansuhAI API Gateway",
12
+ docs_url=None, # Disable Swagger UI
13
+ redoc_url=None, # Disable ReDoc
14
+ openapi_url=None, # Disable OpenAPI schema
15
  )
16
 
17
  # CORS settings