fix relative path resolution in router and link crawling

This commit is contained in:
Jacky Zhao committed 2023-08-16 22:04:15 -07:00
1 parent 232652149a
commit 2f6747b166
44 files changed
+160 -106

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ import { render } from "preact-render-to-string"
import { QuartzComponent, QuartzComponentProps } from "./types"
import HeaderConstructor from "./Header"
import BodyConstructor from "./Body"
import { JSResourceToScriptElement, StaticResources } from "../resources"
import { CanonicalSlug, pathToRoot } from "../path"
import { JSResourceToScriptElement, StaticResources } from "../util/resources"
import { CanonicalSlug, pathToRoot } from "../util/path"
interface RenderComponents {
head: QuartzComponent