Skip to content

Commit

Permalink
fix: add netlify redirect rule to route root URL to /simulatorvue
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanndwi123 committed Jan 29, 2025
1 parent ac9a470 commit 0756393
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[build]
command = "npm run build && mkdir -p ./dist && cp -r ../public/* ./dist/"

[[redirects]]
from = "/"
to = "/simulatorvue"
status = 301
force = true

[[redirects]]
from = "/simulatorvue/v0/*"
to = "/simulatorvue/v0/index-cv.html"
Expand Down

0 comments on commit 0756393

Please sign in to comment.