2019-05-01 15:04:10 -05:00
|
|
|
function operator_url() {
|
2019-05-10 11:22:20 -05:00
|
|
|
var domain_parent = window.location.hostname.split('.').splice(-2).join('.');
|
2019-05-01 15:04:10 -05:00
|
|
|
var subdomain = domain_parent.endsWith('suse.de') ? 'tortuga' : 'operator';
|
|
|
|
return 'https://' + subdomain + '.' + domain_parent;
|
|
|
|
}
|
|
|
|
|
|
|
|
function obs_url() {
|
2019-05-10 11:22:20 -05:00
|
|
|
var domain_parent = window.location.hostname.split('.').splice(-2).join('.');
|
2019-05-01 15:04:10 -05:00
|
|
|
return 'https://build.' + domain_parent;
|
|
|
|
}
|