Remove oauth from gulp and ejs templates
This commit is contained in:
@@ -9,7 +9,7 @@ app.controller('SetupAccountController', ['$scope', '$http', function ($scope, $
|
||||
// Stupid angular location provider either wants html5 location mode or not, do the query parsing on my own
|
||||
var search = decodeURIComponent(window.location.search).slice(1).split('&').map(function (item) { return item.indexOf('=') === -1 ? [item, true] : [item.slice(0, item.indexOf('=')), item.slice(item.indexOf('=')+1)]; }).reduce(function (o, k) { o[k[0]] = k[1]; return o; }, {});
|
||||
|
||||
var API_ORIGIN = '<%= oauth.apiOrigin %>' || window.location.origin;
|
||||
var API_ORIGIN = '<%= apiOrigin %>' || window.location.origin;
|
||||
|
||||
$scope.busy = false;
|
||||
$scope.error = null;
|
||||
|
||||
Reference in New Issue
Block a user