mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-04 18:10:56 +01:00
Fix broken change
This commit is contained in:
parent
d1816545af
commit
ec493b2892
2 changed files with 2 additions and 3 deletions
|
@ -256,8 +256,7 @@ export const fetchConversation = async (
|
|||
})
|
||||
)}&fieldToggles=${encodeURIComponent(
|
||||
JSON.stringify({
|
||||
// TODO Figure out what this property does
|
||||
withArticleRichContentState: false
|
||||
withArticleRichContentState: true
|
||||
})
|
||||
)}`,
|
||||
event,
|
||||
|
|
|
@ -25,7 +25,7 @@ const statusRequest = async (
|
|||
/* Let's return our HTML version for wayback machine (we can add other archivers too in future) */
|
||||
if (
|
||||
['archive.org', 'Wayback Machine'].some(service =>
|
||||
request.headers.get('Via').includes(service)
|
||||
request.headers.get('Via')?.includes?.(service)
|
||||
)
|
||||
) {
|
||||
console.log('Request from archive.org');
|
||||
|
|
Loading…
Add table
Reference in a new issue