diff --git a/lib/metadata/getPageOgType.ts b/lib/metadata/getPageOgType.ts index 66319f429e..054c4841ea 100644 --- a/lib/metadata/getPageOgType.ts +++ b/lib/metadata/getPageOgType.ts @@ -55,6 +55,7 @@ const OG_TYPE_DICT: Record = { '/api/proxy': 'Regular page', '/api/csrf': 'Regular page', '/api/healthz': 'Regular page', + '/api/config': 'Regular page', '/auth/auth0': 'Regular page', '/auth/unverified-email': 'Regular page', }; diff --git a/lib/metadata/templates/description.ts b/lib/metadata/templates/description.ts index 08acaaf1c8..a8560bded2 100644 --- a/lib/metadata/templates/description.ts +++ b/lib/metadata/templates/description.ts @@ -59,6 +59,7 @@ const TEMPLATE_MAP: Record = { '/api/proxy': DEFAULT_TEMPLATE, '/api/csrf': DEFAULT_TEMPLATE, '/api/healthz': DEFAULT_TEMPLATE, + '/api/config': DEFAULT_TEMPLATE, '/auth/auth0': DEFAULT_TEMPLATE, '/auth/unverified-email': DEFAULT_TEMPLATE, }; diff --git a/lib/metadata/templates/title.ts b/lib/metadata/templates/title.ts index b004af7f7d..c7d62f7087 100644 --- a/lib/metadata/templates/title.ts +++ b/lib/metadata/templates/title.ts @@ -55,6 +55,7 @@ const TEMPLATE_MAP: Record = { '/api/proxy': '%network_name% node API proxy', '/api/csrf': '%network_name% node API CSRF token', '/api/healthz': '%network_name% node API health check', + '/api/config': '%network_name% node API health check', '/auth/auth0': '%network_name% authentication', '/auth/unverified-email': '%network_name% unverified email', }; diff --git a/lib/mixpanel/getPageType.ts b/lib/mixpanel/getPageType.ts index e53554756b..b8d982d422 100644 --- a/lib/mixpanel/getPageType.ts +++ b/lib/mixpanel/getPageType.ts @@ -53,6 +53,7 @@ export const PAGE_TYPE_DICT: Record = { '/api/proxy': 'Node API: Proxy', '/api/csrf': 'Node API: CSRF token', '/api/healthz': 'Node API: Health check', + '/api/config': 'Node API: Health check', '/auth/auth0': 'Auth', '/auth/unverified-email': 'Unverified email', }; diff --git a/next.config.js b/next.config.js index 36fce8daa1..f1c2e19694 100644 --- a/next.config.js +++ b/next.config.js @@ -47,14 +47,15 @@ const moduleExports = { productionBrowserSourceMaps: true, experimental: { instrumentationHook: process.env.NEXT_OPEN_TELEMETRY_ENABLED === 'true', - turbo: { - rules: { - '*.svg': { - loaders: [ '@svgr/webpack' ], - as: '*.js', - }, - }, - }, + // disabled as it is not stable yet + // turbo: { + // rules: { + // '*.svg': { + // loaders: [ '@svgr/webpack' ], + // as: '*.js', + // }, + // }, + // }, }, }; diff --git a/nextjs/nextjs-routes.d.ts b/nextjs/nextjs-routes.d.ts index c8a72eeae1..a5dce6570d 100644 --- a/nextjs/nextjs-routes.d.ts +++ b/nextjs/nextjs-routes.d.ts @@ -15,6 +15,7 @@ declare module "nextjs-routes" { | StaticRoute<"/accounts"> | DynamicRoute<"/address/[hash]/contract-verification", { "hash": string }> | DynamicRoute<"/address/[hash]", { "hash": string }> + | StaticRoute<"/api/config"> | StaticRoute<"/api/csrf"> | StaticRoute<"/api/healthz"> | StaticRoute<"/api/log"> diff --git a/tools/scripts/dev.preset.sh b/tools/scripts/dev.preset.sh index f8f2d1f96e..d0a0d49e66 100755 --- a/tools/scripts/dev.preset.sh +++ b/tools/scripts/dev.preset.sh @@ -28,5 +28,5 @@ dotenv \ -v NEXT_PUBLIC_GIT_TAG=$(git describe --tags --abbrev=0) \ -e $config_file \ -e $secrets_file \ - -- bash -c './deploy/scripts/make_envs_script.sh && next dev -p $NEXT_PUBLIC_APP_PORT --turbo' | + -- bash -c './deploy/scripts/make_envs_script.sh && next dev -p $NEXT_PUBLIC_APP_PORT' | pino-pretty \ No newline at end of file