-
Notifications
You must be signed in to change notification settings - Fork 22
/
netlify.toml
165 lines (136 loc) · 3.73 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[build]
# command = "yarn rw deploy netlify"
command = "yarn rw build --verbose && yarn rw prisma migrate deploy"
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 = "/sitemap.xml"
to = "https://redwoodjs-docs.netlify.app/sitemap.xml"
status = 200
force = true
[[redirects]]
from = "/docs/*"
to = "https://redwoodjs-docs.netlify.app/docs/:splat"
status = 200
force = true
[[redirects]]
from = "/cookbook"
to = "/docs/how-to/index"
status = 301
force = true
[[redirects]]
from = "/cookbook/*"
to = "/docs/how-to/:splat"
status = 301
force = true
[[redirects]]
from = "/tutorial"
to = "/docs/tutorial/welcome-to-redwood"
status = 301
force = true
[[redirects]]
from = "/tutorial/*"
to = "/docs/tutorial/:splat"
status = 301
force = true
[[redirects]]
from = "/assets/*"
to = "https://redwoodjs-docs.netlify.app/assets/:splat"
status = 200
force = true
[[redirects]]
from = "/img/*"
to = "https://redwoodjs-docs.netlify.app/img/:splat"
status = 200
force = true
[[redirects]]
from = "/newsletter"
to = "https://mailchi.mp/redwoodjs/redwoodjs-newsletter"
force = true
[[redirects]]
from ="/community"
to ="https://community.redwoodjs.com/t/welcome-to-the-redwoodjs-community/2416"
[[redirects]]
from ="/events"
to ="https://community.redwoodjs.com/t/redwood-events-you-re-invited/3853"
[[redirects]]
from ="/v1launchweek"
to ="https://v1launchweek.redwoodjs.com/"
[[redirects]]
from ="/v1-launch-week"
to ="https://v1launchweek.redwoodjs.com/"
[[redirects]]
from ="/startup-club"
to ="https://forms.gle/fYsacoY4uKQmP24o8"
[[redirects]]
from = "/good-first-issue"
to = "https://github.com/orgs/redwoodjs/projects/11"
[[redirects]]
from = "/nodeconf"
to = "https://redwoodjs.notion.site/NodeConf-EU-2022-78e671b43c3f47cda09305b6b3efcb5e"
[[redirects]]
from = "/hacktoberfest"
to = "https://github.com/redwoodjs/redwood/issues/1266"
[[redirects]]
from = "/contributing"
to = "https://redwoodjs.com/docs/contributing"
[[redirects]]
from = "/reference/command-line-interface"
to = "/docs/cli-commands"
status = 301
force = true
[[redirects]]
from = "/quick-start"
to = "/docs/quick-start"
status = 301
force = true
[[redirects]]
from = "/quickstart"
to = "/docs/quick-start"
status = 301
force = true
[[redirects]]
from = "/showcase"
to = "https://showcase.redwoodjs.com"
status = 301
force = true
[[redirects]]
from = "/roadmap"
to = "https://redwoodjs.notion.site/Public-Roadmap-6ade052af6414aca897cfd0bf3ae0641"
status = 301
force = true
[[redirects]]
from = "/build"
to = "https://build.redwoodjs.com"
status = 301
force = true
[[redirects]]
from = "/build-competition"
to = "https://build.redwoodjs.com"
status = 301
force = true
[[redirects]]
from = "/react-summit"
to = "https://redwoodjs.notion.site/redwoodjs/React-Summit-5af495a07ba846ba995686dc9529357a"
status = 301
force = true
[[redirects]]
from = "/reactsummit"
to = "https://redwoodjs.notion.site/redwoodjs/React-Summit-5af495a07ba846ba995686dc9529357a"
status = 301
force = true
[[redirects]]
from = "/*"
to = "/200.html"
status = 200