@@ -5,32 +5,30 @@ import type { Metadata } from "next";
5
5
import { Header } from "@/components/ui/header" ;
6
6
import { Providers } from "@/providers/Providers" ;
7
7
8
- const appUrl = process . env . NEXT_PUBLIC_URL ;
9
-
10
8
const frame = {
11
9
version : "next" ,
12
- imageUrl : `${ appUrl } /image.png` ,
10
+ imageUrl : `https://proposals.farcastle.net /image.png` ,
13
11
button : {
14
12
title : "Make Proposal" ,
15
13
action : {
16
14
type : "launch_frame" ,
17
15
name : "Proposals" ,
18
- url : "${appUrl} " ,
19
- iconImageUrl : `${ appUrl } /icon.png` ,
20
- splashImageUrl : `${ appUrl } /splash.png` ,
16
+ url : "https://proposals.farcastle.net " ,
17
+ iconImageUrl : `https://proposals.farcastle.net /icon.png` ,
18
+ splashImageUrl : `https://proposals.farcastle.net /splash.png` ,
21
19
splashBackgroundColor : "#341A34" ,
22
20
} ,
23
21
} ,
24
22
} ;
25
23
26
24
export async function generateMetadata ( ) : Promise < Metadata > {
27
25
return {
28
- metadataBase : new URL ( ` ${ appUrl } ` ) ,
26
+ metadataBase : new URL ( "https://proposals.farcastle.net" ) ,
29
27
title : "Proposals" ,
30
28
openGraph : {
31
29
title : "Farcastle Proposals" ,
32
30
description : "the actions of organizations" ,
33
- images : `${ appUrl } /image.png` ,
31
+ images : `https://proposals.farcastle.net /image.png` ,
34
32
} ,
35
33
other : {
36
34
"fc:frame" : JSON . stringify ( frame ) ,
0 commit comments