Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vlass Manager UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
Vlass Manager UI
Commits
849680b0
Commit
849680b0
authored
2 years ago
by
Jim Sheckard
Browse files
Options
Downloads
Plain Diff
Merge branch 'hunting_servernames' into 'release/2.3.0-RC1'
hunting_servernames See merge request
!4
parents
18ecda93
2ae422a7
No related branches found
No related tags found
2 merge requests
!5
Release branch into main pre-deployment
,
!4
hunting_servernames
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/app.component.ts
+2
-0
2 additions, 0 deletions
src/app/app.component.ts
src/env.js
+4
-0
4 additions, 0 deletions
src/env.js
with
6 additions
and
0 deletions
src/app/app.component.ts
+
2
−
0
View file @
849680b0
...
@@ -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
'
:
...
...
This diff is collapsed.
Click to expand it.
src/env.js
+
4
−
0
View file @
849680b0
...
@@ -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
'
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment