Skip to content

Commit 4dc634d

Browse files
committed
fix: ignore the search
1 parent 1e20023 commit 4dc634d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adex/runtime/handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export async function handler(req, res) {
1616
prepareRequest(req)
1717
prepareResponse(res)
1818

19-
const baseURL = req.url
19+
const [baseURL] = req.url.split('?')
2020

2121
const { metas, links, title, lang } = toStatic()
2222

0 commit comments

Comments
 (0)