Skip to content
Snippets Groups Projects
Commit 849680b0 authored by Jim Sheckard's avatar Jim Sheckard
Browse files

Merge branch 'hunting_servernames' into 'release/2.3.0-RC1'

hunting_servernames

See merge request !4
parents 18ecda93 2ae422a7
No related branches found
Tags 2.3.0
2 merge requests!5Release branch into main pre-deployment,!4hunting_servernames
...@@ -58,10 +58,12 @@ export class AppComponent { ...@@ -58,10 +58,12 @@ export class AppComponent {
switch (this.window.location.hostname) { switch (this.window.location.hostname) {
case 'archive-test.nrao.edu': case 'archive-test.nrao.edu':
case 'data-test.nrao.edu': case 'data-test.nrao.edu':
case 'vlass-test.nrao.edu':
title = 'TEST | ' + title; title = 'TEST | ' + title;
break; break;
case 'archive-new.nrao.edu': case 'archive-new.nrao.edu':
case 'data.nrao.edu': case 'data.nrao.edu':
case 'vlass.nrao.edu':
// leave the title alone // leave the title alone
break; break;
case 'webtest.aoc.nrao.edu': case 'webtest.aoc.nrao.edu':
......
...@@ -7,10 +7,14 @@ A service in angular will capture this info and add it to a service ...@@ -7,10 +7,14 @@ A service in angular will capture this info and add it to a service
window.__env = window.__env || {}; window.__env = window.__env || {};
switch (window.location.hostname) { switch (window.location.hostname) {
case 'archive-test.nrao.edu':
case 'data-test.nrao.edu':
case 'vlass-test.nrao.edu': case 'vlass-test.nrao.edu':
window.__env.configUrl = 'https://vlass-test.nrao.edu/VlassMngr/services/configuration'; window.__env.configUrl = 'https://vlass-test.nrao.edu/VlassMngr/services/configuration';
break; break;
case 'archive-new.nrao.edu': case 'archive-new.nrao.edu':
case 'data.nrao.edu':
case 'vlass.nrao.edu':
window.__env.configUrl = 'https://archive-new.nrao.edu/VlassMngr/services/configuration'; window.__env.configUrl = 'https://archive-new.nrao.edu/VlassMngr/services/configuration';
break; break;
case 'localhost': case 'localhost':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment