-
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.
chore: prepared repo for deployment in netlify
- Loading branch information
1 parent
ddd584b
commit 767cc1a
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
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 = "yarn rw deploy netlify" | ||
publish = "web/dist" | ||
functions = "api/dist/functions" | ||
|
||
[dev] | ||
# To use [Netlify Dev](https://www.netlify.com/products/dev/), | ||
# install netlify-cli from https://docs.netlify.com/cli/get-started/#installation | ||
# and then use netlify link https://docs.netlify.com/cli/get-started/#link-and-unlink-sites | ||
# to connect your local project to a site already on Netlify | ||
# then run netlify dev and our app will be accessible on the port specified below | ||
framework = "redwoodjs" | ||
# Set targetPort to the [web] side port as defined in redwood.toml | ||
targetPort = 8910 | ||
# Point your browser to this port to access your RedwoodJS app | ||
port = 8888 | ||
|
||
[[redirects]] | ||
from = "/*" | ||
to = "/index.html" | ||
status = 200 |
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