Skip to content

Commit

Permalink
fix(gatsby-plugin-gatsby-cloud): Re-add constant LINK_REGEX (#36839) (#…
Browse files Browse the repository at this point in the history
…36847)

Co-authored-by: Alex Reed <alex.reed@gatsbyjs.com>
  • Loading branch information
ViCo0TeCH and aghreed committed Oct 19, 2022
1 parent 78bc932 commit d211a97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gatsby-plugin-gatsby-cloud/src/constants.js
Expand Up @@ -36,3 +36,5 @@ export const CACHING_HEADERS = {
"/static/*": [IMMUTABLE_CACHING_HEADER],
"/sw.js": [NEVER_CACHE_HEADER],
}

export const LINK_REGEX = /^(Link: <\/)(.+)(>;.+)/

0 comments on commit d211a97

Please sign in to comment.