mirror of
https://github.com/torappinfo/uweb.git
synced 2026-03-14 14:45:45 +01:00
update AI engines
This commit is contained in:
parent
f89c4903aa
commit
4fefb9ace0
1 changed files with 3 additions and 3 deletions
|
|
@ -1,9 +1,9 @@
|
|||
export async function onRequest(context) {
|
||||
const { req, env } = context;
|
||||
let url = req.url;
|
||||
const { request, env } = context;
|
||||
let url = request.url;
|
||||
let iSlash = url.indexOf('?',11);
|
||||
let nUrl = url.substring(iSlash+1);
|
||||
return await goUrl(req, nUrl);
|
||||
return await goUrl(request, nUrl);
|
||||
}
|
||||
|
||||
async function goUrl(request, url) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue