Switch to a basic API endpoint to get tab info.

This commit is contained in:
yuanhau 2025-05-25 09:27:58 +08:00
parent 79e133c167
commit c2ec1b6668
3 changed files with 45 additions and 47 deletions

View file

@ -1,3 +1,16 @@
export default defineEventHandler(async (event) => {
return "cool";
});
return {
data: [
{
text: "國內",
url: "domestic",
default: true,
},
{
text: "國外",
url: "global",
default: false,
},
]
}
})