可以在服务端配置部分客户端行为 目前只作了标题

This commit is contained in:
CrescentLeaf
2025-11-23 14:16:48 +08:00
parent e90e1911e8
commit f097a491ae
3 changed files with 11 additions and 1 deletions

View File

@@ -17,9 +17,10 @@ let config = {
*/
listen: {
port: 3601,
host: "::",
host: null,
/**
* setting ipv6Only to true will disable dual-stack support, i.e., binding to host :: won't make 0.0.0.0 be bound.
* 然而这在 deno 上没什么用, 不如设定 host 为 null
*/
ipv6Only: false,
},
@@ -31,6 +32,9 @@ let config = {
cert: default_data_path + '/cert.pem',
},
},
client: {
title: '铃之椅',
},
}
try {