⬆️ Upgrade: picgo version to latest

ISSUES CLOSED: #299,#525
This commit is contained in:
Molunerfinn
2020-06-28 15:28:44 +08:00
parent 2c57a27284
commit a693544291
6 changed files with 28 additions and 43 deletions

View File

@@ -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