File tree 2 files changed +3
-7
lines changed 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -207,8 +207,6 @@ function renderRevenueAndCashflowProfile(resultsData) {
207
207
208
208
}
209
209
210
- let _UI_KEY = 'RONSrTE7Es7iIJ2D9S2Xn3e49vCXV1Sl7FFi3kaU'
211
-
212
210
function submitForm ( oFormElement ) {
213
211
let parsed_params = JSON . parse ( oFormElement . querySelector ( 'textarea[name="geophires_input_parameters"]' ) . value )
214
212
@@ -278,7 +276,6 @@ function submitForm(oFormElement) {
278
276
}
279
277
280
278
xhr . open ( oFormElement . method , oFormElement . getAttribute ( "action" ) )
281
- xhr . setRequestHeader ( 'x-api-key' , _UI_KEY ) ;
282
279
xhr . send ( JSON . stringify ( {
283
280
'geophires_input_parameters' : parsed_params ,
284
281
'output_format' : 'json'
@@ -365,8 +362,7 @@ $(document).ready(function () {
365
362
366
363
if ( location . hostname . indexOf ( 'localhost' ) !== - 1 ) {
367
364
const path = 'get-geophires-result'
368
- const url = `https://dev.gtp.scientificweb.services/${ path } `
369
- _UI_KEY = 'dQz4mnNwyF68ho47m0biA2Q7mEt5Ub1Q2SV9ezhc'
365
+ const url = `https://dev.gt1.scientificweb.services/${ path } `
370
366
$ ( 'form.apiActionForm' ) . attr ( 'action' , url )
371
367
372
368
setVisible ( $ ( '#json-input-tab' ) , true )
Original file line number Diff line number Diff line change 122
122
id ="geophires_param_form "
123
123
method ="POST "
124
124
class ="apiActionForm "
125
- action ="https://api.gtp .scientificweb.services/get-geophires-result ">
125
+ action ="https://prod.gt1 .scientificweb.services/get-geophires-result ">
126
126
</ form >
127
127
</ div >
128
128
< div class ="mui-tabs__pane " id ="pane-default-3 ">
132
132
< form
133
133
method ="POST "
134
134
class ="apiActionForm "
135
- action ="https://api.gtp .scientificweb.services/get-geophires-result "
135
+ action ="https://prod.gt1 .scientificweb.services/get-geophires-result "
136
136
onsubmit ="return submitForm(this); ">
137
137
< textarea id ="geophires_input_parameters "
138
138
name ="geophires_input_parameters "
You can’t perform that action at this time.
0 commit comments