Created
September 8, 2021 15:20
Revisions
-
jerriclynsjohn created this gist
Sep 8, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ # example netlify.toml [build] command = "npm run build" functions = "functions" publish = "public" ## 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/master/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://www.netlify.com/docs/netlify-toml-reference/