fix: Opens foreign links from article page in new tab [cw-2725] (#8304)

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Nithin David Thomas
2023-11-22 01:57:58 +05:30
committed by GitHub
parent e750ee6d28
commit 31c709be5c
2 changed files with 41 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ By default, it renders:
window.portalConfig = {
portalSlug: '<%= @portal.slug %>',
portalColor: '<%= @portal.color %>',
customDomain: '<%= @portal.custom_domain %>',
hostURL: '<%= ENV.fetch('FRONTEND_URL', '') %>',
theme: '<%= @theme %>',
localeCode: '<%= @locale %>',
searchTranslations: {