mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
test: avoid joinUrlSegments, align with prev test
This commit is contained in:
parent
3192244ce0
commit
7d78ae7b53
@ -169,12 +169,7 @@
|
||||
})
|
||||
|
||||
// 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()
|
||||
|
Loading…
Reference in New Issue
Block a user