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 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"