summaryrefslogtreecommitdiffstats
path: root/lib/xdsconfig
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-11-06 12:17:30 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-11-06 15:43:21 +0100
commit22ce6ab7f2e7fbf8811d3261c1a72dfd14c70d27 (patch)
tree6f1a1899f749bfbe9ced5d6146fd9ed7a507e729 /lib/xdsconfig
parent24581d461e7c9b87836384cd4c38cb2bd7147459 (diff)
Allow XDT_SDK overwrite
Test framework or simply a user may need to set XDT_SDK variable even if /etc/xdtrc file exists. Also change default location of webapp to www to allow to run xds-server without the need to set any config file. Change-Id: I403778e597cbcfd2c16d5ab6b603073ed3a230f0 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xdsconfig')
-rw-r--r--lib/xdsconfig/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xdsconfig/config.go b/lib/xdsconfig/config.go
index bab3abd..046950d 100644
--- a/lib/xdsconfig/config.go
+++ b/lib/xdsconfig/config.go
@@ -100,7 +100,7 @@ func Init(cliCtx *cli.Context, log *logrus.Logger) (*Config, error) {
NoFolderConfig: cliCtx.GlobalBool("no-folderconfig"),
},
FileConf: FileConfig{
- WebAppDir: "webapp/dist",
+ WebAppDir: "www",
ShareRootDir: dfltShareDir,
SdkScriptsDir: DefaultSdkScriptsDir,
XdsUtilsScriptsDir: DefaultXdsUtilsScriptsDir,