路由回调
This commit is contained in:
parent
b7a4adfdcc
commit
4ef9468b77
@ -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");
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
"Kestrel": {
|
"Kestrel": {
|
||||||
"Endpoints": {
|
"Endpoints": {
|
||||||
"Http": {
|
"Http": {
|
||||||
"Url": "http://*:5000"
|
"Url": "http://*:9996"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user