Skip to content

Commit

Permalink
Fix production dummy API endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
jpadilla committed Jul 10, 2018
1 parent 71720fc commit f84b67a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ module.exports = function(environment) {

ENV['ember-simple-auth-token'] = {
refreshTokenPropertyName: 'token',
serverTokenEndpoint: '/api/token-auth/',
serverTokenRefreshEndpoint: '/api/token-refresh/',
serverTokenEndpoint: `${ENV.API_URL}/api/token-auth/`,
serverTokenRefreshEndpoint: `${ENV.API_URL}/api/token-refresh/`,
refreshLeeway: 5
};
}
Expand Down

0 comments on commit f84b67a

Please sign in to comment.