Fix back and front
This commit is contained in:
parent
42ebf07216
commit
482eba3bd1
@ -13,7 +13,6 @@ app = FastAPI()
|
|||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
CORSMiddleware,
|
CORSMiddleware,
|
||||||
allow_origins=["*"], # בהמשך תוכל לצמצם לכתובת הפרונטאנד
|
allow_origins=["*"], # בהמשך תוכל לצמצם לכתובת הפרונטאנד
|
||||||
allow_credentials=True,
|
|
||||||
allow_methods=["*"],
|
allow_methods=["*"],
|
||||||
allow_headers=["*"],
|
allow_headers=["*"],
|
||||||
)
|
)
|
||||||
|
|||||||
@ -27,4 +27,4 @@ RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh
|
|||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
Loading…
x
Reference in New Issue
Block a user