fix: use relative imports for python files

This commit is contained in:
2025-07-23 22:47:55 +00:00
parent 3eb1522525
commit 2ce76243b8
7 changed files with 21 additions and 22 deletions

View File

@@ -1,9 +1,9 @@
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from backend.config import settings
from backend.db import database, Base, engine
from backend.routes import shortener_router
from .config import settings
from .db import database, Base, engine
from .routes import shortener_router
app = FastAPI()