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