Skip to content

Commit 154ca29

Browse files
committed
Fix test
1 parent 17e103a commit 154ca29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const testServer = createServer(async (req, res) => {
4242
const file = await readFile(join('./test/fixtures/', req.url))
4343
if (req.url.endsWith('.html')) {
4444
const rule = {
45-
'{{base}}': url.href
45+
'{{base}}': url.origin
4646
} as Record<string, string>
4747
res.end(file.toString('utf-8').replace(/{{.*?}}/g, match => rule[match] ?? match))
4848
} else {

0 commit comments

Comments
 (0)