Skip to content

Commit

Permalink
Fixing Login Issue
Browse files Browse the repository at this point in the history
Signed-off-by: Type-32 <[email protected]>
  • Loading branch information
Type-32 committed Jul 9, 2024
1 parent bb3abf2 commit ddb8c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/auth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function login(event: FormSubmitEvent<any>) {
loading.value = true
try{
console.log(event)
const data = await $fetch(runtimeConf.public.siteUrl + '/api/v1/auth/login', {
const data = await $fetch('/api/v1/auth/login', {
method: 'POST',
body: JSON.stringify({
// @ts-ignore
Expand Down

0 comments on commit ddb8c27

Please sign in to comment.