Skip to content

Commit

Permalink
fix: redirects in netlify (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
wozny1989 authored Sep 22, 2022
1 parent ac29f10 commit 5b2b054
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/dummy/public/_redirects

This file was deleted.

12 changes: 12 additions & 0 deletions tests/dummy/public/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# The following redirect is intended for use with most SPAs that handle
# routing internally.
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"

0 comments on commit 5b2b054

Please sign in to comment.