diff --git a/.env.example b/.env.example index 5f1698a..5147aed 100644 --- a/.env.example +++ b/.env.example @@ -30,8 +30,6 @@ VATSIM_OAUTH_SCOPES=full_name,email,vatsim_details,country SENTRY_LARAVEL_DSN=null SENTRY_TRACES_SAMPLE_RATE=0.0 -MIX_APP_URL="${APP_URL}" - BROADCAST_DRIVER=log CACHE_DRIVER=file QUEUE_CONNECTION=sync diff --git a/resources/js/components/passport/AuthorizedClients.vue b/resources/js/components/passport/AuthorizedClients.vue index 54cee92..55ccff4 100644 --- a/resources/js/components/passport/AuthorizedClients.vue +++ b/resources/js/components/passport/AuthorizedClients.vue @@ -66,7 +66,7 @@ * Get all of the authorized tokens for the user. */ getTokens() { - axios.get(process.env.MIX_APP_URL + '/oauth/tokens') + axios.get('/oauth/tokens') .then(response => { this.tokens = response.data; }); @@ -76,7 +76,7 @@ * Revoke the given token. */ revoke(token) { - axios.delete(process.env.MIX_APP_URL + '/oauth/tokens/' + token.id) + axios.delete('/oauth/tokens/' + token.id) .then(response => { this.getTokens(); });