public
Last active

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11
(function() {
var originalRequest = Ext.Ajax.request;
Ext.Ajax.request = function(o) {
if (!(/config\/environment/.test(o.url))) {
o.url = String.format("/myprependString/{0}", o.url.replace(/^\//, ''));
}
return originalRequest.call(this, o);
};
})();

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.