Skip to content

Commit

Permalink
New fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Jun 5, 2022
1 parent fb2c22d commit 0bf6be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/passport/AuthorizedClients.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand All @@ -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();
});
Expand Down

0 comments on commit 0bf6be4

Please sign in to comment.