Skip to content

Commit

Permalink
Merge pull request #18 from HausDAO/config-domain
Browse files Browse the repository at this point in the history
Config domain
  • Loading branch information
earth2travis authored Jan 29, 2025
2 parents 8f777be + 4da14fd commit 2c3a607
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "scores-frame",
"name": "farcastle-proposals-frame",
"version": "0.1.0",
"private": true,
"scripts": {
Expand All @@ -8,9 +8,9 @@
"clean": "rm -rf .next/cache",
"start": "next start",
"lint": "next lint",
"pages:build": "rm -rf .next && next build && rm -rf .next/cache",
"pages:deploy": "npx @cloudflare/next-on-pages deploy .next",
"preview": "bun run pages:build && wrangler pages dev"
"pages:build": "npx @cloudflare/next-on-pages",
"preview": "bun run pages:build && wrangler pages dev",
"deploy": "bun run pages:build && wrangler pages deploy"
},
"dependencies": {
"@farcaster/frame-sdk": "^0.0.16",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { ImageResponse } from "next/og";

export const alt = "Farcastle Proposal";
export const runtime = "edge";

export const alt = "Farcastle DAO Proposals";
export const size = {
width: 600,
height: 400,
Expand Down
1 change: 1 addition & 0 deletions src/app/dao/[chainid]/[daoid]/[proposaltype]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Proposal from "./proposal";
const appUrl = process.env.NEXT_PUBLIC_URL;

export const revalidate = 300;
export const runtime = "edge";

type Props = {
params: Promise<{ chainid: string; daoid: string; proposaltype: string }>;
Expand Down
2 changes: 2 additions & 0 deletions src/app/dao/[chainid]/[daoid]/opengraph-image.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { ImageResponse } from "next/og";

export const runtime = "edge";

export const alt = "Farcastle DAO Proposals";
export const size = {
width: 600,
Expand Down
1 change: 1 addition & 0 deletions src/app/dao/[chainid]/[daoid]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import DaoHome from "./dao-home";
const appUrl = process.env.NEXT_PUBLIC_URL;

export const revalidate = 300;
export const runtime = "edge";

type Props = {
params: Promise<{ chainid: string; daoid: string }>;
Expand Down
2 changes: 1 addition & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "farcastle-proposals-frame"
compatibility_date = "2024-07-29"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".next"
pages_build_output_dir = ".vercel/output/static"

0 comments on commit 2c3a607

Please sign in to comment.