Skip to content

Commit b456a54

Browse files
Switch from raw APIG URLs to scientificweb.services domain
1 parent ad6dbcb commit b456a54

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

geophires/geophires-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ $(document).ready(function () {
360360

361361
if (location.hostname.indexOf('localhost') !== -1) {
362362
const path = 'get-geophires-result'
363-
const url = `https://d4nshmdoig.execute-api.us-west-2.amazonaws.com/${path}`
363+
const url = `https://dev.gt1.scientificweb.services/${path}`
364364
$('form.apiActionForm').attr('action', url)
365365

366366
setVisible($('#json-input-tab'), true)

geophires/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h3>
122122
id="geophires_param_form"
123123
method="POST"
124124
class="apiActionForm"
125-
action="https://nmgmk2gu5b.execute-api.us-west-2.amazonaws.com/get-geophires-result">
125+
action="https://prod.gt1.scientificweb.services/get-geophires-result">
126126
</form>
127127
</div>
128128
<div class="mui-tabs__pane" id="pane-default-3">
@@ -132,7 +132,7 @@ <h3>
132132
<form
133133
method="POST"
134134
class="apiActionForm"
135-
action="https://nmgmk2gu5b.execute-api.us-west-2.amazonaws.com/get-geophires-result"
135+
action="https://prod.gt1.scientificweb.services/get-geophires-result"
136136
onsubmit="return submitForm(this);">
137137
<textarea id="geophires_input_parameters"
138138
name="geophires_input_parameters"

hip-ra/hip-ra.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ Density Of Water, -1`),
5656
}
5757

5858
this.hipRaLoading = true
59-
let apigId = 'nmgmk2gu5b'
59+
let stageName = 'prod'
6060
if (getLocationHost().indexOf('localhost') !== -1) {
61-
apigId = 'd4nshmdoig'
61+
stageName = 'dev'
6262
}
6363

6464
fetch(
65-
`https://${apigId}.execute-api.us-west-2.amazonaws.com/get-hip-ra-result`,
65+
`https://${stageName}.gt1.scientificweb.services/get-hip-ra-result`,
6666
{
6767
method: 'POST',
6868
body: JSON.stringify({

0 commit comments

Comments
 (0)