Spaces:
Running
Running
anyonehomep1mane commited on
Commit ·
0b5c732
1
Parent(s): e471cfa
Setting Changes
Browse files- auth_service/app/main.py +6 -1
- task_service/app/main.py +6 -1
auth_service/app/main.py
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
|
| 3 |
-
app = FastAPI(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
def root():
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
|
| 3 |
+
app = FastAPI(
|
| 4 |
+
title="Auth Service",
|
| 5 |
+
root_path="/auth",
|
| 6 |
+
docs_url="/docs",
|
| 7 |
+
openapi_url="/openapi.json"
|
| 8 |
+
)
|
| 9 |
|
| 10 |
@app.get("/")
|
| 11 |
def root():
|
task_service/app/main.py
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
|
| 3 |
-
app = FastAPI(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
def root():
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
|
| 3 |
+
app = FastAPI(
|
| 4 |
+
title="Task Service",
|
| 5 |
+
root_path="/task",
|
| 6 |
+
docs_url="/docs",
|
| 7 |
+
openapi_url="/openapi.json"
|
| 8 |
+
)
|
| 9 |
|
| 10 |
@app.get("/")
|
| 11 |
def root():
|