From 96579fc741afd75dda0898cd8507d66b3fafd75e Mon Sep 17 00:00:00 2001 From: Nathan Franklin Date: Fri, 29 Sep 2023 16:09:27 -0500 Subject: [PATCH] Add /dev/ handling in index.html --- angular/src/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/angular/src/index.html b/angular/src/index.html index 2da699cd..c4645841 100644 --- a/angular/src/index.html +++ b/angular/src/index.html @@ -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 {