Skip to content

Commit 1a12902

Browse files
committed
fix: update base path type to enforce leading and trailing slash
1 parent 770d3ab commit 1a12902

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)