Small refactor
This commit is contained in:
parent
fd21010088
commit
eac85c6bfe
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from pydantic import BaseModel, HttpUrl
|
||||
from pydantic import BaseModel
|
||||
|
||||
class Product(BaseModel):
|
||||
name: str
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue