File tree 3 files changed +7
-11
lines changed
3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const metadata: Metadata = {
29
29
default : 'IslamicCoin' ,
30
30
} ,
31
31
referrer : 'origin-when-cross-origin' ,
32
- metadataBase : new URL ( DEPLOY_URL ) ,
32
+ // metadataBase: new URL(DEPLOY_URL),
33
33
other : {
34
34
google : 'notranslate' ,
35
35
} ,
Original file line number Diff line number Diff line change 1
1
import { MetadataRoute } from 'next' ;
2
- import { SITE_URL } from '@/constants' ;
3
- import { SUPPORTED_LOCALES } from '@/constants' ;
2
+ import { SITE_URL , SUPPORTED_LOCALES } from '@/constants' ;
4
3
import { academyModules } from '@/lib/academy-modules' ;
5
4
6
5
export interface SitemapUrl {
Original file line number Diff line number Diff line change 1
1
export const VERCEL_ENV = process . env [ 'VERCEL_ENV' ] ;
2
2
export const SITE_URL = 'https://islamiccoin.net' ;
3
- export const DEPLOY_URL =
4
- VERCEL_ENV === 'production'
5
- ? SITE_URL
6
- : process . env [ 'VERCEL_URL' ]
7
- ? `https://${ process . env [ 'VERCEL_URL' ] } `
8
- : process . env [ 'NEXT_PUBLIC_VERCEL_URL' ]
9
- ? `https://${ process . env [ 'NEXT_PUBLIC_VERCEL_URL' ] } `
10
- : 'http://localhost:3000' ;
3
+ export const DEPLOY_URL = process . env [ 'VERCEL_URL' ]
4
+ ? `https://${ process . env [ 'VERCEL_URL' ] } `
5
+ : process . env [ 'NEXT_PUBLIC_VERCEL_URL' ]
6
+ ? `https://${ process . env [ 'NEXT_PUBLIC_VERCEL_URL' ] } `
7
+ : 'http://localhost:3000' ;
11
8
export const REVALIDATE_TIME = 300 ;
12
9
export const FALCONER_ENDPOINT = 'https://falconer.haqq.sh' as const ;
13
10
export const SUPPORTED_LOCALES : string [ ] = [ 'en' ] ;
You can’t perform that action at this time.
0 commit comments