Skip to content

Commit acc2fce

Browse files
fix: allow root path in base path type
Co-authored-by: Y.D.X. <[email protected]>
1 parent 1a12902 commit acc2fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export const discordServerUrl = "https://discord.gg/9xF7k4aAuH";
1717
/** The origin URL of the deployed site, used for metadata. Note that the base path should not be included. */
1818
export const originUrl = "https://typst-jp.github.io/";
1919
/** The base public path for deployment. This must match the value used in typst-docs. */
20-
export const basePath: `/${string}/` = "/docs/";
20+
export const basePath: "/" | `/${string}/` = "/docs/";

0 commit comments

Comments
 (0)