Skip to content

Commit d211a97

Browse files
gatsbybotaghreed
andauthoredOct 19, 2022
fix(gatsby-plugin-gatsby-cloud): Re-add constant LINK_REGEX (#36839) (#36847)
Co-authored-by: Alex Reed <alex.reed@gatsbyjs.com>

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎packages/gatsby-plugin-gatsby-cloud/src/constants.js

+2
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ export const CACHING_HEADERS = {
3636
"/static/*": [IMMUTABLE_CACHING_HEADER],
3737
"/sw.js": [NEVER_CACHE_HEADER],
3838
}
39+
40+
export const LINK_REGEX = /^(Link: <\/)(.+)(>;.+)/

0 commit comments

Comments
 (0)
Please sign in to comment.