You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Readme: Add section explaining when the plugin is not needed (#54)
People who google for "netlify redirect gatsby" will likely end up here and think the whole plugin with all it's dependencies is needed, which is not the case.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ Automatically generates a `_headers` file and a `_redirects` file at the root of
5
5
6
6
By default, the plugin will add some basic security headers. You can easily add or replace headers through the plugin config.
7
7
8
+
**When not to use the plugin:** In case you just want to use a `_redirects` or `_headers` file for Netlify with Gatsby, you don't need this plugin. Instead, move those files in `/static/_redirects`, `/static/_headers` and Gatsby will copy them to your root folder during build where Netlify will pick them up.
0 commit comments