路由回调

This commit is contained in:
马梓彭 2026-09-08 16:51:52 +08:00
parent b7a4adfdcc
commit 4ef9468b77
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
Serve.Run(RunOptions.Default Serve.Run(RunOptions.Default
.WithArgs(args) .WithArgs(args)
.ConfigureBuilder(builder => .ConfigureBuilder(builder =>
{ {
// 本地裁判端联调统一使用 5000 端口,并绑定全部网卡供 adb reverse 转发。 // 确保容器内绑定到所有IP,端口9996
builder.WebHost.UseUrls("http://*:5000"); builder.WebHost.UseUrls("http://*:9996");
}) })
); );

View File

@ -10,7 +10,7 @@
"Kestrel": { "Kestrel": {
"Endpoints": { "Endpoints": {
"Http": { "Http": {
"Url": "http://*:5000" "Url": "http://*:9996"
} }
} }
}, },