diff --git a/client/salix/src/components/app/app.js b/client/salix/src/components/app/app.js index 0f3606f7e..040635229 100644 --- a/client/salix/src/components/app/app.js +++ b/client/salix/src/components/app/app.js @@ -32,7 +32,7 @@ function vnAppInterceptor($q, $rootScope, logger, $translate, $cookies) { let token = $cookies.get('vnToken'); if (token) - config.url = config.url += '?access_token=' + encodeURIComponent(token); + config.headers.Authorization = token; return config; },