-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jeffery Orazulike <chukwudumebiorazulike@gmail.com>
- Loading branch information
1 parent
a50c4de
commit 550d62d
Showing
4 changed files
with
52 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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 characters
This file was deleted.
Oops, something went wrong.
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[build] | ||
command = "pnpm run build" | ||
functions = "netlify/functions" | ||
publish = "dist/client" | ||
|
||
## Uncomment to use this redirect for Single Page Applications like create-react-app. | ||
## Not needed for static site generators. | ||
[[redirects]] | ||
from = "/*" | ||
to = "/:splat/" | ||
status = 301 | ||
force = true | ||
|
||
## (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://ntl.fyi/file-based-build-config |