Commit 07d73273 authored by Evren Esat Özkan's avatar Evren Esat Özkan

added a global reference to wsOps. only enabled for local backends.

parent d977e8de
......@@ -268,6 +268,9 @@ angular.module('ulakbus')
];
toggle[st]();
};
if(WSUri.url.match(/127.0.0.1|localhost/)){
// to be able to call backend from console at development
window.wsops = wsOps;
}
return wsOps;
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment