Remove oauth from gulp and ejs templates

This commit is contained in:
Johannes Zellner
2020-02-07 13:41:10 +01:00
parent ba36f05182
commit 7596881464
4 changed files with 15 additions and 28 deletions
+1 -3
View File
@@ -221,10 +221,8 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
this._installedApps = [];
this._installedAppsById = {};
this._appTags = [];
this._clientId = '<%= oauth.clientId %>';
this._clientSecret = '<%= oauth.clientSecret %>';
// window.location fallback for websocket connections which do not have relative uris
this.apiOrigin = '<%= oauth.apiOrigin %>' || window.location.origin;
this.apiOrigin = '<%= apiOrigin %>' || window.location.origin;
this.avatar = '';
this._appstoreAppCache = [];