0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-12-18 00:13:23 +00:00

update npm packages, issue #21, wg conf creation first run

This commit is contained in:
vx3r 2020-03-17 10:31:44 +09:00
parent 0e3aef75b8
commit 38a284c7c8
4 changed files with 1958 additions and 1892 deletions

View File

@ -52,8 +52,8 @@ services:
image: vx3r/wg-gen-web:latest
container_name: wg-gen-web
restart: unless-stopped
expose:
- "8080/tcp"
ports:
- 8080:8080
environment:
- WG_CONF_DIR=/data
- WG_INTERFACE_NAME=wg0.conf

View File

@ -55,6 +55,12 @@ func ReadServer() (*model.Server, error) {
if err != nil {
return nil, err
}

// server.json was missing, dump wg config after creation
err = UpdateServerConfigWg()
if err != nil {
return nil, err
}
}

c, err := storage.Deserialize("server.json")

3828
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,15 +12,15 @@
"moment": "^2.24.0",
"vue": "^2.6.10",
"vue-moment": "^4.1.0",
"vue-router": "^3.1.3",
"vuetify": "^2.1.0"
"vue-router": "^3.1.6",
"vuetify": "^2.2.17"
},
"devDependencies": {
"@vue/cli-plugin-router": "^4.1.0",
"@vue/cli-service": "^4.1.0",
"sass": "^1.19.0",
"@vue/cli-plugin-router": "^4.2.3",
"@vue/cli-service": "^4.2.3",
"sass": "^1.26.3",
"sass-loader": "^8.0.0",
"vue-cli-plugin-vuetify": "^2.0.3",
"vue-cli-plugin-vuetify": "^2.0.5",
"vue-template-compiler": "^2.6.10",
"vuetify-loader": "^1.3.0"
}