From 0dfc20aa9d751e06529affe136e624292e48cf2f Mon Sep 17 00:00:00 2001 From: yaongmeow Date: Tue, 11 Jun 2024 13:19:40 +0900 Subject: [PATCH] chore: delete footprint api files --- BE/main.py | 2 -- BE/routes/footprint.py | 13 ------------- 2 files changed, 15 deletions(-) delete mode 100644 BE/routes/footprint.py diff --git a/BE/main.py b/BE/main.py index 07e68aa..f63fdad 100644 --- a/BE/main.py +++ b/BE/main.py @@ -1,7 +1,6 @@ from fastapi import FastAPI from routes.auth import auth_router -from routes.footprint import footprint_router from routes.green import green_router from routes.history import history_router from routes.statistics import statistics_router @@ -30,7 +29,6 @@ ) app.include_router(auth_router, prefix="/auth") -app.include_router(footprint_router, prefix="/footprint") app.include_router(green_router, prefix="/green") app.include_router(history_router, prefix="/history") app.include_router(statistics_router, prefix="/statistics") \ No newline at end of file diff --git a/BE/routes/footprint.py b/BE/routes/footprint.py deleted file mode 100644 index a5e58d3..0000000 --- a/BE/routes/footprint.py +++ /dev/null @@ -1,13 +0,0 @@ -from fastapi import APIRouter, Request - -footprint_router = APIRouter( - tags=["Footprint"], -) - -@footprint_router.post("/compute") -def compute(request: Request): - return {"compute"}; - -@footprint_router.get("/visulaize") -def visualize(): - return {"visualize"};