Skip to content

Commit

Permalink
Add /dev/ handling in index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin committed Sep 29, 2023
1 parent aeb1835 commit 96579fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions angular/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

if (/^hazmapper.tacc.utexas.edu/.test(hostname) && pathname.startsWith('/staging')) {
document.getElementById('base').href = '/staging/';
} else if (/^hazmapper.tacc.utexas.edu/.test(hostname) && pathname.startsWith('/dev')) {
document.getElementById('base').href = '/dev/';
} else if (/^hazmapper.tacc.utexas.edu/.test(hostname)) {
document.getElementById('base').href = '/hazmapper/';
} else {
Expand Down

0 comments on commit 96579fc

Please sign in to comment.