Reverted cors and added ffmpeg
This commit is contained in:
@@ -5,6 +5,7 @@ WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
RUN apt update && apt install -y ffmpeg
|
||||
|
||||
COPY . .
|
||||
CMD ["python", "main.py"]
|
||||
@@ -44,7 +44,7 @@ def auth_config():
|
||||
# Add middleware
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=["https://signlanguagetool.secureservers.be", "http://localhost:3000"],
|
||||
allow_origins=["*"],
|
||||
allow_credentials=True,
|
||||
allow_methods=["*"],
|
||||
allow_headers=["*"],
|
||||
|
||||
Reference in New Issue
Block a user