Skip to content

Commit

Permalink
Added netlify toml
Browse files Browse the repository at this point in the history
  • Loading branch information
the-abe-train committed Dec 3, 2022
1 parent f74a5f4 commit 02d1fe0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# example netlify.toml
[build]
command = "vite build"
functions = "netlify/functions"
publish = "dist"

## Uncomment to use this redirect for Single Page Applications like create-react-app.
## Not needed for static site generators.
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

## (optional) Settings for Netlify Dev
## https://github.com/netlify/cli/blob/main/docs/netlify-dev.md#project-detection
#[dev]
# command = "yarn start" # Command to start your dev server
# port = 3000 # Port that the dev server will be listening on
# publish = "dist" # Folder with the static content for _redirect file

## more info on configuring this file: https://docs.netlify.com/configure-builds/file-based-configuration/

0 comments on commit 02d1fe0

Please sign in to comment.