Skip to content

Commit

Permalink
added .toml file for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
vidishraj committed Aug 28, 2024
1 parent f0bb1b4 commit 3c66505
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[build]
publish = "build" # The directory where your static files are located
command = "npm run build" # The command to build your site

[build.environment]
NODE_ENV = "production"

[[redirects]]
from = "/api"
to = "https://fpl-analysis.onrender.com/"
status = 200 # Permanent redirect
force = true # Force the redirect even if the file exists at the destination

0 comments on commit 3c66505

Please sign in to comment.