mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-25 15:40:49 +08:00
feat: update api
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
export async function onRequest({ request }) {
|
||||
const url = new URL(request.url)
|
||||
url.hostname = '129.204.254.110'
|
||||
url.port = '8080'
|
||||
url.protocol = 'http:'
|
||||
|
||||
// 直接透传:不区分 user/category
|
||||
return fetch(url, request)
|
||||
}
|
||||
Reference in New Issue
Block a user