Skip to content

Commit 7841e3e

Browse files
committed
lel
1 parent 547547b commit 7841e3e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

app/pods/callback/route.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,10 @@ export default Route.extend({
99
}
1010

1111
return this.get('session').authenticate('authenticator:custom', transition.queryParams.code)
12+
},
13+
afterModel () {
14+
this.transitionTo('index', {
15+
queryParams: {}
16+
})
1217
}
1318
});

config/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = function(environment) {
5454
clientID: "7023763625",
5555
callbackURL: "http://troublemaker.codingblocks.com/callback"
5656
}
57-
ENV.apiHost = 'http://troublemaker-api.codingblocks.com/'
57+
ENV.apiHost = 'http://troublemaker-api.codingblocks.com'
5858
}
5959

6060
return ENV;

0 commit comments

Comments
 (0)