WIP [CORD-1140] serving GUI under /xos
Change-Id: I8095355f8f437899ce1d0ee31ff333254bfa8a7d
diff --git a/conf/app/README.md b/conf/app/README.md
index bdc361a..3d5f1d5 100644
--- a/conf/app/README.md
+++ b/conf/app/README.md
@@ -1,6 +1,6 @@
# XOS-GUI Config
-### Note that the configurations defined in this folder are for development only, they are most likely to be overrided by a volume mount defined in `service-profile`
+#### Note that the configurations defined in this folder are for development only, they are most likely to be overrided by a volume mount defined in `platform-install`
## App Config
@@ -10,7 +10,7 @@
```
angular.module('app')
.constant('AppConfig', {
- apiEndpoint: '/spa/api',
+ apiEndpoint: '/xosapi',
websocketClient: '/'
});
diff --git a/conf/browsersync-dist.conf.js b/conf/browsersync-dist.conf.js
index dd768bb..33b0ab5 100644
--- a/conf/browsersync-dist.conf.js
+++ b/conf/browsersync-dist.conf.js
@@ -20,7 +20,7 @@
}
},
routes: {
- "/spa": "./dist"
+ "/xos": "./dist"
}
},
open: true
diff --git a/conf/proxy.js b/conf/proxy.js
index d2459d8..8af184d 100644
--- a/conf/proxy.js
+++ b/conf/proxy.js
@@ -7,7 +7,7 @@
});
const extensionsProxy = httpProxy.createProxyServer({
- target: `http://${target}/spa/`
+ target: `http://${target}/xos/`
});
proxy.on('error', function(error, req, res) {
diff --git a/conf/webpack-dist.conf.js b/conf/webpack-dist.conf.js
index eafbd55..3375a7a 100644
--- a/conf/webpack-dist.conf.js
+++ b/conf/webpack-dist.conf.js
@@ -71,13 +71,13 @@
jQuery: "jquery"
}),
new BaseHrefWebpackPlugin({
- baseHref: '/spa/'
+ baseHref: '/xos/'
}),
],
postcss: () => [autoprefixer],
output: {
path: path.join(process.cwd(), conf.paths.dist),
- publicPath: "/spa/", // enable apache proxying on the head node
+ publicPath: "/xos/", // enable apache proxying on the head node
filename: '[name].js'
},
resolve: {