Skip to content

Commit

Permalink
Update dev serve path to /ui/service
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenBW committed Oct 18, 2016
1 parent 1ce9d5d commit 1c6e792
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions client/app/services/consoles.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
}

function openSpice(results) {
var url = '/self_service/bower_components/spice-html5-bower/spiceHTML5/spice_auto.html'
var url = '/ui/service/bower_components/spice-html5-bower/spiceHTML5/spice_auto.html'
+ '?host=' + $location.host()
+ '&port=' + $location.port()
+ '&path=' + results.url
Expand All @@ -90,7 +90,7 @@
}

function openVnc(results) {
var url = '/self_service/bower_components/no-vnc/vnc_auto.html'
var url = '/ui/service/bower_components/no-vnc/vnc_auto.html'
+ '?host=' + $location.host()
+ '&port=' + $location.port()
+ '&path=' + results.url
Expand Down
2 changes: 1 addition & 1 deletion client/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/>
<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="icon" href="/favicon.ico"/>
<base href="/self_service/">
<base href="/ui/service/">
<style>
[ng-cloak] {
display: none;
Expand Down
4 changes: 2 additions & 2 deletions gulp/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = (function() {
var client = src + 'client/';
var server = src + 'server/';
var tests = src + 'tests/';
var build = '../manageiq/public/self_service/';
var build = '../manageiq/public/ui/service/';
var temp = './.tmp/';
var reports = './reports/';
var bower = './bower_components/';
Expand Down Expand Up @@ -352,7 +352,7 @@ module.exports = (function() {
ws: true,
},
port: 3001,
startPath: '/self_service/',
startPath: '/ui/service/',
files: [],
ghostMode: {
clicks: true,
Expand Down
4 changes: 2 additions & 2 deletions server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ switch (environment) {
app.use(express.static('./'));

// dev routes
app.use('/self_service/', serviceApp);
app.use('/ui/service/', serviceApp);

app.get('/self_service', function (req, res) {
app.get('/ui/service', function (req, res) {
res.render('index');
});

Expand Down

0 comments on commit 1c6e792

Please sign in to comment.