File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
- const ROOT_URL = process . env . NEXT_PUBLIC_URL || process . env . VERCEL_URL ;
1
+ const ROOT_URL =
2
+ process . env . NEXT_PUBLIC_URL ||
3
+ ( process . env . VERCEL_URL && `https://${ process . env . VERCEL_URL } ` ) ||
4
+ "http://localhost:3000" ;
2
5
3
6
/**
4
- * MiniApp configuration object. Must follow the Farcaster MiniApp specification.
7
+ * MiniApp configuration object. Must follow the mini app manifest specification.
5
8
*
6
- * @see {@link https://miniapps.farcaster.xyz/docs/guides/publishing }
9
+ * @see {@link https://docs.base.org/mini-apps/features/manifest }
7
10
*/
8
11
export const minikitConfig = {
9
12
accountAssociation : {
@@ -26,7 +29,7 @@ export const minikitConfig = {
26
29
homeUrl : ROOT_URL ,
27
30
webhookUrl : `${ ROOT_URL } /api/webhook` ,
28
31
primaryCategory : "utility" ,
29
- tags : [ ] ,
32
+ tags : [ "example" ] ,
30
33
heroImageUrl : `${ ROOT_URL } /hero.png` ,
31
34
tagline : "" ,
32
35
ogTitle : "" ,
Original file line number Diff line number Diff line change 1
- const ROOT_URL = process . env . NEXT_PUBLIC_URL || process . env . VERCEL_URL ;
1
+ const ROOT_URL =
2
+ process . env . NEXT_PUBLIC_URL ||
3
+ ( process . env . VERCEL_URL && `https://${ process . env . VERCEL_URL } ` ) ||
4
+ "http://localhost:3000" ;
2
5
3
6
/**
4
- * MiniApp configuration object. Must follow the Farcaster MiniApp specification.
7
+ * MiniApp configuration object. Must follow the mini app manifest specification.
5
8
*
6
- * @see {@link https://miniapps.farcaster.xyz/docs/guides/publishing }
9
+ * @see {@link https://docs.base.org/mini-apps/features/manifest }
7
10
*/
8
11
export const minikitConfig = {
9
12
accountAssociation : {
@@ -23,7 +26,7 @@ export const minikitConfig = {
23
26
homeUrl : ROOT_URL ,
24
27
webhookUrl : `${ ROOT_URL } /api/webhook` ,
25
28
primaryCategory : "utility" ,
26
- tags : [ ] ,
29
+ tags : [ "example" ] ,
27
30
heroImageUrl : `${ ROOT_URL } /hero.png` ,
28
31
tagline : "" ,
29
32
ogTitle : "" ,
You can’t perform that action at this time.
0 commit comments