devankit commited on
Commit
d959d2e
·
verified ·
1 Parent(s): 9df9ed8

Update backend/main.py

Browse files
Files changed (1) hide show
  1. backend/main.py +1 -1
backend/main.py CHANGED
@@ -67,7 +67,7 @@ def resize_image(image: Image.Image, width: int, height: int):
67
  return image.resize((width, height), Image.Resampling.LANCZOS)
68
 
69
  app = FastAPI()
70
- app.mount("/", StaticFiles(directory="../frontend/build", html=True), name="static")
71
 
72
 
73
  app.add_middleware(
 
67
  return image.resize((width, height), Image.Resampling.LANCZOS)
68
 
69
  app = FastAPI()
70
+ app.mount("/", StaticFiles(directory="./frontend/build", html=True), name="static")
71
 
72
 
73
  app.add_middleware(