From effd94411fd8bb28d989efa639b3443177bdf71b Mon Sep 17 00:00:00 2001 From: Jo Humphrey <31373245+jamdelion@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:55:16 +0100 Subject: [PATCH] Add homepage path to config files --- docs/package.json | 1 + docs/vite.config.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/package.json b/docs/package.json index e842dcbf..507b7f8a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,6 +9,7 @@ "lint": "eslint .", "preview": "vite preview" }, + "homepage": "https:/theopensystemslab.github.io/digital-planning-data-schemas", "dependencies": { "@stoplight/json-schema-viewer": "^4.16.1", "@stoplight/mosaic": "^1.53.4", diff --git a/docs/vite.config.ts b/docs/vite.config.ts index c45e0fe0..1b1e2677 100644 --- a/docs/vite.config.ts +++ b/docs/vite.config.ts @@ -32,4 +32,5 @@ export default defineConfig({ build: { commonjsOptions: {transformMixedEsModules: true}, }, + base: '/digital-planning-data-schemas', });