This commit is contained in:
2023-02-20 18:30:08 +01:00
parent d3e8ec6813
commit 2a5e9ad29d
2 changed files with 1 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ def auth_config():
# Add middleware
app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
allow_origins=["https://signlanguagetool.secureservers.be", "http://localhost:3000"],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],

View File

@@ -23,7 +23,6 @@ COPY . .
ENV REACT_APP_API_URL="https://backend.signlanguagetool.secureservers.be"
# Build for production.
RUN npm run build --production