From 7d78ae7b535285f915b650d91f8ee61557cd704f Mon Sep 17 00:00:00 2001 From: patak-dev Date: Mon, 16 Sep 2024 22:11:46 +0200 Subject: [PATCH] test: avoid joinUrlSegments, align with prev test --- playground/fs-serve/root/src/index.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/playground/fs-serve/root/src/index.html b/playground/fs-serve/root/src/index.html index b8ed6b18489692..5b2363740bf030 100644 --- a/playground/fs-serve/root/src/index.html +++ b/playground/fs-serve/root/src/index.html @@ -169,12 +169,7 @@

Denied

}) // not imported before, outside of root, treated as unsafe - fetch( - joinUrlSegments( - base, - joinUrlSegments('/@fs/', ROOT) + '/unsafe.json?import&raw', - ), - ) + fetch('/@fs/' + ROOT + '/unsafe.json?import&raw') .then((r) => { text('.unsafe-fs-fetch-raw-status', r.status) return r.json()