Skip to content

Commit 1e33f31

Browse files
committed
fix(dash/src): 🔍 Add metadataBase for og images
Also remove debug logs for weird prisma error since its fixed
1 parent c023aaa commit 1e33f31

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dashboard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo NEXT_PUBLIC_API_URL="https://api.buildtheearth.net/api/v1" >> apps/dashboard/.env
4343
echo NEXT_PUBLIC_SMYLER_API_URL="https://smybteapi.buildtheearth.net" >> apps/dashboard/.env
4444
echo NEXT_PUBLIC_FRONTEND_URL="https://buildtheearth.net" >> apps/dashboard/.env
45-
echo DATABASE_URL="${{ secrets.DATABASE_URL }}" >> apps/dashboard/.env
45+
# echo DATABASE_URL="${{ secrets.DATABASE_URL }}" >> apps/dashboard/.env
4646
- name: Build the Docker image
4747
run: docker build . --file apps/dashboard/Dockerfile --tag ghcr.io/buildtheearth/dashboard-website:$(git rev-parse --short HEAD) --tag ghcr.io/buildtheearth/dashboard-website:latest
4848
- name: Docker push tag

apps/dashboard/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ COPY --from=builder /app/out/full/ .
2727
COPY --from=builder /app/apps/dashboard/.env ./apps/dashboard/.env
2828

2929
ENV NEXT_TELEMETRY_DISABLED 1
30-
RUN echo "Using env file: \n $(cat apps/dashboard/.env)"
3130
RUN yarn turbo run build --filter=dashboard...
3231

3332
FROM base AS runner

apps/dashboard/src/app/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const minecraftFont = localFont({
3434
});
3535

3636
export const metadata: Metadata = {
37+
metadataBase: new URL('https://my.buildtheearth.net'),
3738
title: {
3839
default: 'MyBuildTheEarth',
3940
template: '%s | MyBuildTheEarth',

0 commit comments

Comments
 (0)