File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ const poppins = Poppins({
13
13
export async function generateMetadata ( ) : Promise < Metadata > {
14
14
const dictionary = await import ( `data/meta.json` ) ;
15
15
16
- const BASE_URL = process . env . NEXT_ROOT_URL || "https://api-platform.com" ;
16
+ const BASE_URL =
17
+ "https://" + process . env . NEXT_ROOT_URL || "https://api-platform.com" ;
17
18
const URL_LOGO = `${ BASE_URL } /images/logo.png` ;
18
19
19
20
const title = dictionary [ "layout" ] . title ;
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
13
13
const { URL : BASE_URL , OG_IMAGE } = await import ( `data/con/meta` ) ;
14
14
15
15
return {
16
- metadataBase : new URL ( process . env . NEXT_ROOT_URL || "" ) ,
16
+ metadataBase : new URL (
17
+ "https://" + process . env . NEXT_ROOT_URL || "https://api-platform.com"
18
+ ) ,
17
19
title : {
18
20
default : dictionary . title ,
19
21
template : "%s - API Platform Conference" ,
You can’t perform that action at this time.
0 commit comments