het endpoint setting hak akses belum fix

This commit is contained in:
2025-06-03 14:34:36 +07:00
parent 30fc55d50f
commit 6a6d8070c8
7 changed files with 66 additions and 77 deletions

View File

@@ -0,0 +1,9 @@
export default defineEventHandler(async (event) => {
const res = await $fetch(`http://10.10.150.131:8080/api/menu/getlist`, {
method: "GET",
headers: {"Content-Type": "application/json"}
})
// console.log(res)
return res
})

View File

@@ -0,0 +1,8 @@
export default defineEventHandler(async (event) => {
const res = await $fetch(`http://10.10.150.131:8080/api/menu/type`, {
method: "GET",
headers: {"Content-Type": "application/json"}
})
// console.log(res)
return res
})