diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 86f2e9565..3f81983d0 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -32,7 +32,8 @@ export async function generateMetadata(props: { const params = await props.params; const { locale } = params; - const baseUrl = process.env.CI ? 'http://etib.localhost' : SITE_URL; + const baseUrl = SITE_URL; + return { title: { template: '%s | E-TIB', diff --git a/lib/schema.ts b/lib/schema.ts index 1b4b728ad..f0f7dc8f1 100644 --- a/lib/schema.ts +++ b/lib/schema.ts @@ -1,7 +1,6 @@ import { config } from './config'; const getSiteUrl = () => { - if (process.env.CI) return 'http://etib.localhost'; return (config.baseUrl as string) || 'https://e-tib.com'; }; diff --git a/package.json b/package.json index fd7ab33af..3ffc7378f 100644 --- a/package.json +++ b/package.json @@ -138,7 +138,7 @@ "prepare": "husky", "preinstall": "npx only-allow pnpm" }, - "version": "2.2.46", + "version": "2.2.47", "pnpm": { "onlyBuiltDependencies": [ "@parcel/watcher",