Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
qwtel committed Jul 21, 2023
1 parent 894fb7f commit d4e6364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class HTMLRewriter {

constructor(private readonly options?: RawHTMLRewriterOptions) {
this.promise = init((async () => {
const x = await Deno.open('./html_rewriter_bg.wasm', { read: true })
const x = await Deno.open(new URL('../html_rewriter_bg.wasm', import.meta.url), { read: true })
const r = new Response(x.readable, {
headers: {
'content-type': 'application/wasm',
Expand Down

0 comments on commit d4e6364

Please sign in to comment.