Fix SSE route dependency and align architecture docs

This commit is contained in:
ash66
2026-05-18 16:32:42 +08:00
parent 86b9ac806a
commit 3f69cad404
149 changed files with 4786 additions and 5957 deletions

10
dev.bat
View File

@@ -605,12 +605,14 @@ echo Python was not found.
exit /b 1
:load_env
for %%K in (API_HOST API_PORT FRONTEND_PORT FRONTEND_MODE) do call :read_env %%K
exit /b 0
for %%K in (API_HOST API_PORT FRONTEND_PORT FRONTEND_MODE) do call :read_env %%K .env
for %%K in (API_HOST API_PORT FRONTEND_PORT FRONTEND_MODE) do call :read_env %%K .env.development
exit /b 0
:read_env
if not exist ".env" exit /b 0
for /f "usebackq tokens=1,* delims==" %%A in (`findstr /r /b /c:"%~1=" ".env" 2^>nul`) do set "%~1=%%B"
if "%~2"=="" exit /b 0
if not exist "%~2" exit /b 0
for /f "usebackq tokens=1,* delims==" %%A in (`findstr /r /b /c:"%~1=" "%~2" 2^>nul`) do set "%~1=%%B"
exit /b 0
:pid_exists