perbaikan setting pinia dan simpan user role belum fix, ad env.example

This commit is contained in:
2025-06-05 15:20:22 +07:00
parent 35772f38c9
commit fe32e13ca4
16 changed files with 514 additions and 87 deletions

View File

@@ -1,5 +1,4 @@
import client from "~/server/utils/auth";
import { sendRedirect } from 'h3';
import cors from 'cors';
export default defineEventHandler(async (event) => {
@@ -66,7 +65,7 @@ export default defineEventHandler(async (event) => {
// });
// }
// }
console.log(authorizationUrl)
// console.log(authorizationUrl)
return { callbackURL: authorizationUrl }
// return { callbackURL: authorizationUrl+`&response_type=${responseType}&scope=${scope}` }