添加开发API允许局域网访问选项(#1828)
This commit is contained in:
@@ -138,6 +138,7 @@ const defaultSetting: LX.AppSetting = {
|
||||
|
||||
'openAPI.enable': false,
|
||||
'openAPI.port': '23330',
|
||||
'openAPI.bindLan': false,
|
||||
|
||||
// 'theme.id': 'blue_plus',
|
||||
'theme.id': 'green',
|
||||
|
||||
Vendored
+7
-2
@@ -626,9 +626,14 @@ declare global {
|
||||
'openAPI.enable': boolean
|
||||
|
||||
/**
|
||||
* 同步服务端口号
|
||||
* API服务端口号
|
||||
*/
|
||||
'openAPI.port': '23333' | string
|
||||
'openAPI.port': '23330' | string
|
||||
|
||||
/**
|
||||
* 是否绑定到局域网
|
||||
*/
|
||||
'openAPI.bindLan': boolean
|
||||
|
||||
/**
|
||||
* 是否在离开搜索界面时自动清空搜索框
|
||||
|
||||
Vendored
+1
@@ -8,6 +8,7 @@ declare namespace LX {
|
||||
interface EnableServer {
|
||||
enable: boolean
|
||||
port: string
|
||||
bindLan: boolean
|
||||
}
|
||||
|
||||
interface ActionBase <A> {
|
||||
|
||||
Reference in New Issue
Block a user