Skip to content

Commit

Permalink
fix: app not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Sunglasses authored Dec 10, 2023
1 parent e032cb2 commit 01b087a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/paste/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
from fastapi.middleware.cors import CORSMiddleware
from .utils import generate_uuid

app = FastAPI(title="paste.py 🐍")

origins = ["*"]

app.add_middleware(
Expand All @@ -18,8 +20,6 @@
allow_headers=["*"],
)

app = FastAPI(title="paste.py 🐍")

large_uuid_storage = []

BASE_DIR = Path(__file__).resolve().parent
Expand Down

0 comments on commit 01b087a

Please sign in to comment.