Skip to content

Commit

Permalink
Update routes for backend geoapi (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin authored May 2, 2024
1 parent b5b1a87 commit 692943a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions angular/src/app/services/env.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ export class EnvService {
if (backend === EnvironmentType.Local) {
return 'http://localhost:8888';
} else if (backend === EnvironmentType.Staging) {
return 'https://staging.geoapi-services.tacc.utexas.edu';
return 'https://hazmapper.tacc.utexas.edu/geoapi-staging';
} else if (backend === EnvironmentType.Production) {
return 'https://prod.geoapi-services.tacc.utexas.edu';
return 'https://hazmapper.tacc.utexas.edu/geoapi';
} else if (backend === EnvironmentType.Dev) {
return 'https://dev.geoapi-services.tacc.utexas.edu';
return 'https://hazmapper.tacc.utexas.edu/geoapi-dev';
} else if (backend === EnvironmentType.Experimental) {
return 'https://experimental.geoapi-services.tacc.utexas.edu';
return 'https://hazmapper.tacc.utexas.edu/geoapi-experimental';
} else {
throw new Error('Unsupported Type');
}
Expand Down

0 comments on commit 692943a

Please sign in to comment.