Skip to content

Commit 94fc303

Browse files
committed
fix: apply suggestions
1 parent cdb4c9f commit 94fc303

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/metadata.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"basePath": {
4545
"type": "string",
4646
"description": "The base public path for deployment. This must match the value used in typst-docs.",
47-
"pattern": "^/$|^/[^/]+/$"
47+
"pattern": "^/$|^/([^/]+/)+$"
4848
},
4949
"displayTranslationStatus": {
5050
"type": "boolean",

website/src/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type Metadata = {
1313
displayTranslationStatus: boolean;
1414
};
1515

16-
const metadata = metadataJson as unknown as Metadata;
16+
const metadata = metadataJson as Metadata;
1717

1818
/** The language of the documentation. */
1919
export const language = metadata.language;

0 commit comments

Comments
 (0)