Skip to content

Commit

Permalink
Use val.town URL instead of my custom redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
zephraph committed Oct 7, 2024
1 parent b015271 commit b16b44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro-md/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SyntaxHighlightRewriter implements HTMLRewriterElementContentHandlers {
this.runtime.ctx.waitUntil(this.cache.get(hash));

const res = await fetch(
`https://highlight.val.just-be.dev?lang=${this.lang}&theme=${theme}`,
`https://just_be-highlight.web.val.run?lang=${this.lang}&theme=${theme}`,
{
method: "POST",
body: this.code,
Expand Down

0 comments on commit b16b44c

Please sign in to comment.