Small refactor

This commit is contained in:
Yarne Coppens 2024-09-10 13:45:51 +02:00
parent fd21010088
commit eac85c6bfe
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
from pydantic import BaseModel, HttpUrl
from pydantic import BaseModel
class Product(BaseModel):
name: str

View file

@ -12,7 +12,7 @@ from src import data_connection
app = FastAPI()
origins = [
"*" #Will become something like 'shop.yarnecoppens.com'
"*" #TODO change this
]
app.add_middleware(