🐛 Fix: confused port number auto increasing when opening a new PicGo app

This commit is contained in:
Molunerfinn
2020-03-19 19:25:05 +08:00
parent f3575575ac
commit cd70a1a5cc
5 changed files with 47 additions and 14 deletions

View File

@@ -30,8 +30,8 @@ interface IServerCTX {
}
interface IServerConfig {
port: number
host: string,
port: number | string
host: string
enable: boolean
}