Skip to content

Commit 49a871a

Browse files
authored
fix: test gatsby catch links disabled (#374)
1 parent 6c5bd08 commit 49a871a

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

gatsby-config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,12 @@ module.exports = {
147147
},
148148
},
149149
'gatsby-plugin-image',
150-
'gatsby-plugin-catch-links',
150+
{
151+
resolve: `gatsby-plugin-catch-links`,
152+
options: {
153+
excludePattern: /^\/con/,
154+
},
155+
},
151156
'gatsby-plugin-sitemap',
152157
'gatsby-plugin-twitter',
153158
{

src/components/PreheaderCon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Button from './common/Button';
55

66
const PreheaderCon: React.ComponentType = () => {
77
return (
8-
<a href="/con/2023?y=2023" rel="noreferrer">
8+
<a href="/con/2023" rel="noreferrer">
99
<div className="preheader preheader-con" role="button">
1010
<Web className="preheader-con__web con__web" isVisible />
1111
<img src={Logo} alt="Api Platform Conference" height="40" />

src/pages/con/2023/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ const Conf2023: React.ComponentType = () => {
2020
<title>{`${TITLE}: meet the best API experts!`}</title>
2121
<meta property="og:title" content={`${TITLE}: meet the best API experts!`} />
2222
<meta name="twitter:title" content={`${TITLE}: meet the best API experts!`} />
23-
<meta httpEquiv="Cache-Control" content="no-store, must-revalidate" />,
24-
<meta httpEquiv="Pragma" content="no-cache" />,
25-
<meta httpEquiv="Expires" content="0" />
2623
</Helmet>
2724
<Cover
2825
date="September 21 - 22, 2023 | Lille & online"

0 commit comments

Comments
 (0)