docent-net / docent-net/mc-server-manager

Disable API Debug on prod

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
api backend
Dominant language
Python
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

For now debug=true is hardcoded in apiserver. This should be disabled on production environments. Maybe use environment variables for marking production environment?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the apiserver entry point and locate the hardcoded debug=true setting. Inspect how the project identifies production environments before deciding how that setting should be controlled. Done means API debug mode is disabled in production while the intended non-production behavior remains available; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.