Skip to content

Commit

Permalink
chore: try hard coding redirect url.
Browse files Browse the repository at this point in the history
  • Loading branch information
SongpolR committed Sep 9, 2024
1 parent c8a14e8 commit 5c2d794
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/models/class.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Moment } from 'moment'
import moment from 'moment'
import { Instructor } from './instructor'

// TODO: Map with possible values from API
Expand Down
2 changes: 1 addition & 1 deletion src/stores/liff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const useLiffStore = defineStore('liff', () => {
if (liff.isLoggedIn()) {
profile.value = await liff.getProfile()
} else {
liff.login({ redirectUri: import.meta.env.VITE_LIFF_REDIRECT_URI })
liff.login({ redirectUri: 'https://songpolr.github.io/MyBooking/' })
}
})
await liff.init({ liffId: import.meta.env.VITE_LIFF_ID })
Expand Down

0 comments on commit 5c2d794

Please sign in to comment.