Skip to content

Commit f801e05

Browse files
Adam BaloghAdam Balogh
authored andcommitted
log level
1 parent 43630c5 commit f801e05

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ USER appuser
3535
EXPOSE 8000
3636

3737
# Run the application with Gunicorn
38-
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--timeout", "300", "--workers", "3", "--access-logfile", "-", "main:app"]
38+
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--timeout", "300", "--workers", "3", "--access-logfile", "-", "--log-level", "warning", "main:app"]

server/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def create_flask_app() -> Flask:
8989
"""Create and configure the Flask application with routes."""
9090
app = Flask(__name__)
9191
app.config["PROPAGATE_EXCEPTIONS"] = True
92+
9293
CORS(app, origins=[
9394
"https://bitquant.io",
9495
"https://www.bitquant.io",

0 commit comments

Comments
 (0)