"path"
"path/filepath"
- "github.com/iotbzh/xds-agent/lib/common"
+ common "github.com/iotbzh/xds-common/golib"
)
type SyncThingConf struct {
c.HTTPPort = fCfg.HTTPPort
}
+ // Set default apikey
+ // FIXME - rework with dynamic key
+ if fCfg.XDSAPIKey == "" {
+ fCfg.XDSAPIKey = "1234abcezam"
+ }
+
return &fCfg, nil
}