feat: use react sentry to support pass config via runtime (#350)
This commit is contained in:
parent
a11f36ca60
commit
fff39a307a
10 changed files with 27 additions and 83 deletions
|
|
@ -21,6 +21,7 @@ const LocaleLayout = ({
|
|||
data-api-prefix={process.env.NEXT_PUBLIC_API_PREFIX}
|
||||
data-pubic-api-prefix={process.env.NEXT_PUBLIC_PUBLIC_API_PREFIX}
|
||||
data-public-edition={process.env.NEXT_PUBLIC_EDITION}
|
||||
data-public-sentry-dsn={process.env.NEXT_PUBLIC_SENTRY_DSN}
|
||||
>
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<I18nServer locale={locale}>{children}</I18nServer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue