mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-06-04 03:39:28 +08:00
1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const url = "http://localhost:9003/api"
|
||||
// const url = "https://api.liuyuyang.net/api"
|
||||
// const url = "http://localhost:9003/api"
|
||||
const url = "https://api.liuyuyang.net/api"
|
||||
|
||||
export default async <T>(method: string, api: string, data?: any, caching = true) => {
|
||||
const res = await fetch(`${url}${api}`, {
|
||||
|
||||
Reference in New Issue
Block a user