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
@@ -76,7 +76,7 @@ Exact Remote Path regular expressions to use will depend on CMS you use and poss
76
76
remote_images = [
77
77
# <your-drupal-base-url> is speciafied in the `baseUrl` option for the
78
78
# gatsby-source-drupal plugin in your gatsby-config file.
79
-
"<your-drupal-base-url>\\/(.*)"
79
+
"<your-drupal-base-url>/.*"
80
80
]
81
81
```
82
82
@@ -88,18 +88,12 @@ Exact Remote Path regular expressions to use will depend on CMS you use and poss
88
88
# <your-wordpress-url> is specified in the `url` option for the
89
89
# gatsby-source-wordpress plugin in your gatsby-config file.
90
90
# There is no need to include `/graphql in the path here`
91
-
"<your-wordpress-url>\\/(.*)"
91
+
"<your-wordpress-url>/.*"
92
92
]
93
93
```
94
94
95
95
Above examples are the most likely ones to be needed. However if you configure
96
96
your CMS to host assets on different domain or path, you might need to adjust
97
97
the patterns accordingly.
98
98
99
-
Keep in mind that you will need to escape special regular expression symbols to avoid creating too permisible patterns:
100
-
101
-
-`.` should be escaped as `\\.` (dot)
102
-
-`/` should be escaped as `\\/` (slash)
103
-
- your rule should start with `^` so domain matching is exact
104
-
105
-
If you are using recent versions of Contentful, Drupal or Wordpress source plugins, Gatsby and Netlify Adapter will automatically detect missing Remote Path patterns and will warn you about it and provide require patterns to add to your configuration.
99
+
If you are using recent versions of Contentful, Drupal or Wordpress source plugins, Gatsby and Netlify Adapter will automatically detect missing Remote Path patterns and will warn you about it and provide the required patterns to add to your configuration.
0 commit comments