mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2025-04-02 16:46:52 +00:00
update npm packages, issue #21, wg conf creation first run
This commit is contained in:
parent
0e3aef75b8
commit
38a284c7c8
@ -52,8 +52,8 @@ services:
|
|||||||
image: vx3r/wg-gen-web:latest
|
image: vx3r/wg-gen-web:latest
|
||||||
container_name: wg-gen-web
|
container_name: wg-gen-web
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
expose:
|
ports:
|
||||||
- "8080/tcp"
|
- 8080:8080
|
||||||
environment:
|
environment:
|
||||||
- WG_CONF_DIR=/data
|
- WG_CONF_DIR=/data
|
||||||
- WG_INTERFACE_NAME=wg0.conf
|
- WG_INTERFACE_NAME=wg0.conf
|
||||||
|
@ -55,6 +55,12 @@ func ReadServer() (*model.Server, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
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")
|
c, err := storage.Deserialize("server.json")
|
||||||
|
3828
ui/package-lock.json
generated
3828
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -12,15 +12,15 @@
|
|||||||
"moment": "^2.24.0",
|
"moment": "^2.24.0",
|
||||||
"vue": "^2.6.10",
|
"vue": "^2.6.10",
|
||||||
"vue-moment": "^4.1.0",
|
"vue-moment": "^4.1.0",
|
||||||
"vue-router": "^3.1.3",
|
"vue-router": "^3.1.6",
|
||||||
"vuetify": "^2.1.0"
|
"vuetify": "^2.2.17"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/cli-plugin-router": "^4.1.0",
|
"@vue/cli-plugin-router": "^4.2.3",
|
||||||
"@vue/cli-service": "^4.1.0",
|
"@vue/cli-service": "^4.2.3",
|
||||||
"sass": "^1.19.0",
|
"sass": "^1.26.3",
|
||||||
"sass-loader": "^8.0.0",
|
"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",
|
"vue-template-compiler": "^2.6.10",
|
||||||
"vuetify-loader": "^1.3.0"
|
"vuetify-loader": "^1.3.0"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user