Skip to content

Commit

Permalink
Update netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
vaishnav4281 authored Dec 17, 2024
1 parent 3ef1ea8 commit bd0bddb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,19 @@ force = true
from = "/*"
to = "/index.html"
status = 200
[build]
publish = "build" # Ensure this matches your build folder
command = "npm run build" # Replace with your actual build command

[[redirects]]
from = "/*"
to = "/index.html"
status = 200

[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
X-Frame-Options = "DENY"
Content-Security-Policy = "frame-ancestors 'none';"

0 comments on commit bd0bddb

Please sign in to comment.