mirror of
https://github.com/ohwgiles/laminar.git
synced 2026-11-03 09:04:47 +00:00
use relative paths to support LAMINAR_BASE_URL option
This commit is contained in:
committed by
Oliver Giles
parent
7e77ec1211
commit
c7c586167c
@@ -476,7 +476,7 @@ const All = templateId => {
|
||||
return ret;
|
||||
},
|
||||
wallboardLink: function() {
|
||||
return '/wallboard' + (state.group ? '?filter=' + state.groups[state.group] : '');
|
||||
return 'wallboard' + (state.group ? '?filter=' + state.groups[state.group] : '');
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -603,7 +603,7 @@ const Run = templateId => {
|
||||
// Check for the /latest endpoint
|
||||
const params = this._props.route.params;
|
||||
if(params.number === 'latest')
|
||||
return this.$router.replace('/jobs/' + params.name + '/' + data.latestNum);
|
||||
return this.$router.replace('jobs/' + params.name + '/' + data.latestNum);
|
||||
|
||||
state.number = parseInt(params.number);
|
||||
state.jobsRunning = [];
|
||||
|
||||
Reference in New Issue
Block a user