Update backend/main.py
Browse files- 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=".
|
| 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(
|