File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ const {
77 CONFERENCE_CODE ,
88 API_URL ,
99 API_TOKEN ,
10- NEXT_PUBLIC_SOCIAL_CARD_SERVICE ,
1110 NEXT_PUBLIC_VERCEL_URL ,
1211 API_URL_SERVER ,
1312 CMS_HOSTNAME ,
1413 CMS_ADMIN_HOST = "admin.pycon.it" ,
14+ NEXT_PUBLIC_SITE_URL ,
1515} = process . env ;
1616
1717module . exports = withSentryConfig ( {
@@ -102,12 +102,11 @@ module.exports = withSentryConfig({
102102 API_URL : API_URL ,
103103 conferenceCode : CONFERENCE_CODE || "pycon-demo" ,
104104 cmsHostname : CMS_HOSTNAME ,
105- NEXT_PUBLIC_SOCIAL_CARD_SERVICE :
106- NEXT_PUBLIC_SOCIAL_CARD_SERVICE ||
107- "https://socialcards.python.it/api/card" ,
108- NEXT_PUBLIC_SITE_URL : NEXT_PUBLIC_VERCEL_URL
109- ? `https://${ NEXT_PUBLIC_VERCEL_URL } /`
110- : "http://localhost:3000/" ,
105+ NEXT_PUBLIC_SITE_URL : NEXT_PUBLIC_SITE_URL
106+ ? NEXT_PUBLIC_SITE_URL
107+ : NEXT_PUBLIC_VERCEL_URL
108+ ? `https://${ NEXT_PUBLIC_VERCEL_URL } /`
109+ : "http://localhost:3000/" ,
111110 } ,
112111 images : {
113112 domains : [
You can’t perform that action at this time.
0 commit comments