Skip to content

Commit

Permalink
⚗️ Experiment setting wildcard with empty array #1944
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandolucchesi committed Oct 24, 2023
1 parent 68ba1b2 commit bf3ebf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/MagazineIndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const MagazineIndexPage = ({ isServerRendered = false, locale, pageData, slug, u
isServerRendered
? searchClient({
headers: {
Referer: '*',
Referer: [] as any,

Check warning on line 99 in web/pageComponents/pageTemplates/MagazineIndexPage.tsx

View workflow job for this annotation

GitHub Actions / check-code

Unexpected any. Specify a different type
},
})
: searchClient(undefined)
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/NewsRoomPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const NewsRoomPage = ({ isServerRendered, locale, pageData, slug, url }: NewsRoo
isServerRendered
? searchClient({
headers: {
Referer: '*',
Referer: [] as any,
},
})
: searchClient(undefined)
Expand Down

0 comments on commit bf3ebf3

Please sign in to comment.