File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
2- i
3-
42
53
64[ ![ Build Status] ( https://secure.travis-ci.org/ApiEngine/apiengine-client.png?branch=master )] ( http://travis-ci.org/ApiEngine/apiengine-client )
Original file line number Diff line number Diff line change @@ -73,8 +73,13 @@ define([
7373 var that = this ;
7474 $ . ajaxPrefilter ( function ( options , originalOptions , jqXHR ) {
7575 // Your server goes below
76- if ( options . url . indexOf ( 'proxino' ) === - 1 ) {
77- options . url = 'https://s.apiengine.io' + options . url ;
76+ if ( options . url . indexOf ( 'proxino' ) === - 1 ) {
77+ if ( window . location . host === 'apiengine.io' ) {
78+ options . url = 'https://x.apiengine.io' + options . url ;
79+
80+ } else {
81+ options . url = 'https://s.apiengine.io' + options . url ;
82+ }
7883 //options.url = 'http://192.168.2.111:3000' + options.url;
7984 } // else {
8085 //options.url = 'http://d3gscmgl75g1oq.cloudfront.net' + options.url;
You can’t perform that action at this time.
0 commit comments