mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
Switch to a basic API endpoint to get tab info.
This commit is contained in:
parent
79e133c167
commit
c2ec1b6668
3 changed files with 45 additions and 47 deletions
|
@ -1,3 +1,16 @@
|
|||
export default defineEventHandler(async (event) => {
|
||||
return "cool";
|
||||
});
|
||||
return {
|
||||
data: [
|
||||
{
|
||||
text: "國內",
|
||||
url: "domestic",
|
||||
default: true,
|
||||
},
|
||||
{
|
||||
text: "國外",
|
||||
url: "global",
|
||||
default: false,
|
||||
},
|
||||
]
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue