Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sseho committed Sep 5, 2024
1 parent e0bd35d commit a9bb7c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/oauth/OauthRedirect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export default {
methods: {
async sendCodeToBackend(code) {
try {
console.log("%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%");
console.log(`VUE_APP_MY_URL : ${process.env.VUE_APP_MY_URL}`);
const response = await axios.post(`${process.env.VUE_APP_API_BASE_URL}/api/auth/login`, { code })
const token = response.data.token;
const id = response.data.id;
Expand Down

0 comments on commit a9bb7c4

Please sign in to comment.