1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-15 23:54:17 +02:00

create default config if it does not already exist (#1304)

This commit is contained in:
Tiger Wang
2023-07-31 16:53:03 +08:00
committed by GitHub
parent 5dc6297047
commit 0cf353c56e
7 changed files with 66 additions and 90 deletions

View File

@ -10,6 +10,10 @@
*/
package config
const (
USERCONFIGURL = "/etc/casaos/casaos.conf"
import (
"path/filepath"
"github.com/IceWhaleTech/CasaOS-Common/utils/constants"
)
var CasaOSConfigFilePath = filepath.Join(constants.DefaultConfigPath, "casaos.conf")