Skip to content

Commit

Permalink
fix: try 'NEXT_PUBLIC_'
Browse files Browse the repository at this point in the history
  • Loading branch information
lewxdev committed Aug 27, 2024
1 parent 1653933 commit ab3beb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/fly-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- id: deploy
uses: superfly/[email protected]
with:
name: ${{ env.FLY_APP_NAME }}
secrets: |
BASE_URL=https://${{ env.FLY_APP_NAME }}.fly.dev
NEXT_PUBLIC_BASE_URL=https://${{ env.FLY_APP_NAME }}.fly.dev
REDIS_URL=${{ secrets.REDIS_URL }}
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "@/globals.css";

const title = "mmmines!";
const description = "an endless, massive multiplayer minesweeper game";
const baseUrl = process.env["BASE_URL"];
const baseUrl = process.env["NEXT_PUBLIC_BASE_URL"];

export const metadata: Metadata = {
title,
Expand Down

0 comments on commit ab3beb8

Please sign in to comment.