More annotation added to the program

This commit is contained in:
2026-05-30 12:44:44 +08:00
parent b3f29398f0
commit bf223b52ac
22 changed files with 729 additions and 353 deletions
+5
View File
@@ -6,12 +6,17 @@ Organization : OptiHK Limited
#>
$ErrorActionPreference = "Stop"
# Provide a development-safe secret when the deployment environment has not
# supplied one yet.
if (-not $env:MXPIC_SECRET_KEY) {
$env:MXPIC_SECRET_KEY = "replace-this-with-a-long-random-office-secret"
}
# Bind the Flask server to the intranet-facing interface with production debug
# behavior disabled.
$env:MXPIC_HOST = "0.0.0.0"
$env:MXPIC_PORT = "3000"
$env:MXPIC_DEBUG = "0"
# Start the backend API and static frontend server.
python backend\server.py