mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c20fa32086
1 changed files with 2 additions and 2 deletions
|
@ -44,10 +44,10 @@ func InitDB() error {
|
|||
|
||||
// create directories if they do not exist
|
||||
if _, err := os.Stat(clientPath); os.IsNotExist(err) {
|
||||
os.Mkdir(clientPath, os.ModePerm)
|
||||
os.MkdirAll(clientPath, os.ModePerm)
|
||||
}
|
||||
if _, err := os.Stat(serverPath); os.IsNotExist(err) {
|
||||
os.Mkdir(serverPath, os.ModePerm)
|
||||
os.MkdirAll(serverPath, os.ModePerm)
|
||||
}
|
||||
|
||||
// server's interface
|
||||
|
|
Loading…
Add table
Reference in a new issue