File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,15 +62,15 @@ var ruby_backend_script = 'web_exec_ruby.py';
6262// this is customized to my own Linode server:
6363// these are the REAL endpoints, accessed via jsonp. code is in ../../v4-cokapi/
6464if ( window . location . protocol === 'https:' ) {
65- var JS_JSONP_ENDPOINT = 'https://cokapi.com :8001/exec_js_jsonp' ;
66- var TS_JSONP_ENDPOINT = 'https://cokapi.com :8001/exec_ts_jsonp' ;
67- var JAVA_JSONP_ENDPOINT = 'https://cokapi.com :8001/exec_java_jsonp' ;
68- var RUBY_JSONP_ENDPOINT = 'https://cokapi.com :8001/exec_ruby_jsonp' ;
65+ var JS_JSONP_ENDPOINT = 'https://104.237.139.253 :8001/exec_js_jsonp' ;
66+ var TS_JSONP_ENDPOINT = 'https://104.237.139.253 :8001/exec_ts_jsonp' ;
67+ var JAVA_JSONP_ENDPOINT = 'https://104.237.139.253 :8001/exec_java_jsonp' ;
68+ var RUBY_JSONP_ENDPOINT = 'https://104.237.139.253 :8001/exec_ruby_jsonp' ;
6969} else {
70- var JS_JSONP_ENDPOINT = 'http://cokapi.com :3000/exec_js_jsonp' ; // for deployment
71- var TS_JSONP_ENDPOINT = 'http://cokapi.com :3000/exec_ts_jsonp' ; // for deployment
72- var JAVA_JSONP_ENDPOINT = 'http://cokapi.com :3000/exec_java_jsonp' ; // for deployment
73- var RUBY_JSONP_ENDPOINT = 'http://cokapi.com :3000/exec_ruby_jsonp' ; // for deployment
70+ var JS_JSONP_ENDPOINT = 'http://104.237.139.253 :3000/exec_js_jsonp' ; // for deployment
71+ var TS_JSONP_ENDPOINT = 'http://104.237.139.253 :3000/exec_ts_jsonp' ; // for deployment
72+ var JAVA_JSONP_ENDPOINT = 'http://104.237.139.253 :3000/exec_java_jsonp' ; // for deployment
73+ var RUBY_JSONP_ENDPOINT = 'http://104.237.139.253 :3000/exec_ruby_jsonp' ; // for deployment
7474}
7575
7676
You can’t perform that action at this time.
0 commit comments