From 42bb2cd2e11ac2c058c07ea0faab76afc7547fb0 Mon Sep 17 00:00:00 2001 From: Alvaro Date: Mon, 20 Sep 2021 13:33:12 +0200 Subject: [PATCH 1/2] fix: netlify subdirectory --- docs/netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/netlify.toml b/docs/netlify.toml index 2778e09..8a1867b 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -3,5 +3,5 @@ command = "npm run docs:build" [[redirects]] from = "/*" - to = "/index.html" + to = "/.vitepress/dist/index.html" status = 200 From 99926c2d3bdd5c281bed5bad7b72a9ab6437560d Mon Sep 17 00:00:00 2001 From: Alvaro Date: Tue, 21 Sep 2021 12:37:45 +0200 Subject: [PATCH 2/2] fix: trying removing main netlify.toml --- netlify.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index 344d3ce..b87b8d3 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,3 @@ -[build] - publish = "dist/" - command = "npm run build:demo" [[redirects]] from = "/*" to = "/index.html"