mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-26 10:40:26 +08:00
⬆️ Upgrade: picgo version to latest
ISSUES CLOSED: #299,#525
This commit is contained in:
@@ -12,7 +12,7 @@ class Server {
|
||||
private httpServer: http.Server
|
||||
private config: IServerConfig
|
||||
constructor () {
|
||||
let config = picgo.getConfig('settings.server')
|
||||
let config = picgo.getConfig<IServerConfig>('settings.server')
|
||||
const result = this.checkIfConfigIsValid(config)
|
||||
if (result) {
|
||||
this.config = config
|
||||
|
||||
Reference in New Issue
Block a user