This commit is contained in:
Rizky 2024-06-18 13:50:00 +07:00
parent 61834b6adb
commit 239b6d489e
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ export const createServer = async () => {
maxRequestBodySize: 1024 * 1024 * 128,
async fetch(req) {
const url = new URL(req.url) as URL;
url.pathname = url.pathname.replace(/\/+/g, '/')
const prasi = {};
const index = prodIndex(g.deploy.config.site_id, prasi);