Skip to content

Commit

Permalink
Bring back language filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
ikprk committed Jul 8, 2024
1 parent 885464f commit 686af6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/atlas/src/config/contentFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export const cancelledVideoFilter: VideoWhereInput = {
},
}

// const browserLanguage = navigator.language?.split('-')[0]
const browserLanguage = navigator.language?.split('-')[0]

export const singlePublicCryptoVideoFilter: VideoWhereInput = {
isPublic_eq: true,
isCensored_eq: false,
// orionLanguage_in: [...(browserLanguage ? [browserLanguage] : []), 'en'],
orionLanguage_in: [...(browserLanguage ? [browserLanguage] : []), 'en'],
media: {
isAccepted_eq: true,
},
Expand Down

0 comments on commit 686af6e

Please sign in to comment.