Skip to content

Commit

Permalink
chore: set temporary vercel.app url
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Jun 7, 2024
1 parent 850db40 commit 0fb12f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/dapp/src/app/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@ export default async function Image() {
</div>
<div tw="h-[256px] w-[2px] bg-gray-600 mx-8" />
<div tw="flex flex-2 flex-col items-center justify-center">
{/* FIXME: Use in next commit */}
{/* <img
<img
alt="EES Logo with text"
width={256}
src={`${APP_URL}/endorse.png`}
/> */}
/>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp/src/utils/appUrl.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// TODO[Martin]: Verify this sets the staging/dev URL to staging.endorse.fun
export const APP_URL = !process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL
? 'http://localhost:3000'
? 'https://ees-eosin.vercel.app' // FIXME[Martin]: Use https://endorse.fun for production
: process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL.startsWith('https') ||
process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL.startsWith('http')
? process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL
Expand Down

0 comments on commit 0fb12f1

Please sign in to comment.