Open
fix: disable flask debug mode in server startup #15
super dog.Add on  May 26
super dog.
super dog.
May 26 Create

Problem

index.py starts the Flask service with debug=True when executed directly. Debug mode is intended for local development and should not be enabled by default in a migration tool service.

Impact

Default debug mode can expose unnecessary runtime details and changes server behavior in production-like deployments.

Suggested Fix

Start Flask with debug=False while keeping the configured host and port unchanged.

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
May 26 Added label: sig/sig-Migration
openeuler-ci-bot
openeuler-ci-botCollaborators
May 26 Comments:

Welcome To openEuler Community

Hey @papertager , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: sig-Migration ,
and any of the maintainers: @blublue, @genedna, @stonefly128, @weidongkl, @xingwei-liu, @yeqinglong01 ,
and any of the committers: @blublue .

likedislike
super dog.super dog.
May 26 Associated pull request