www: fix broken link (#1661)
This commit is contained in:
@@ -30,7 +30,7 @@ export const handler: Handlers<Page> = {
|
|||||||
let rawMarkdown = "";
|
let rawMarkdown = "";
|
||||||
if (ctx.params.slug === "remote") {
|
if (ctx.params.slug === "remote") {
|
||||||
const resp = await fetch(
|
const resp = await fetch(
|
||||||
`https://raw.githubusercontent.com/denoland/fresh/main/docs/introduction/index.md`
|
`https://raw.githubusercontent.com/denoland/fresh/main/docs/latest/introduction/index.md`
|
||||||
);
|
);
|
||||||
if (resp.status !== 200) {
|
if (resp.status !== 200) {
|
||||||
return ctx.render(undefined);
|
return ctx.render(undefined);
|
||||||
|
|||||||
Reference in New Issue
Block a user