- add Open Graph and Twitter card metadata to root app layout, using NEXT_PUBLIC_SITE_URL for absolute canonical URLs and social image paths - introduce NEXT_PUBLIC_SITE_URL environment variable to configure the app's public base URL - add environment variable definitions to .env.local.example and coolify.env - create scripts/make-og.py to generate 1200x630 pixel social share images - add public/og.png as the default social share asset - add .shrink CSS utility class for flex layout control - update app build manifests and route entries for new application pages
19 lines
997 B
Text
19 lines
997 B
Text
# PB URL the browser talks to. In production (HTTPS) this should be the
|
|
# same-origin proxy: /api/pb. In dev (localhost HTTP) you can point
|
|
# straight at PB on http://127.0.0.1:8090 or your remote instance.
|
|
NEXT_PUBLIC_POCKETBASE_URL=/api/pb
|
|
# (Or, for dev with a remote PB:)
|
|
# NEXT_PUBLIC_POCKETBASE_URL=http://pocketbase-zinlbpsext2ro0lgb2558vfy.169.239.180.130.sslip.io
|
|
|
|
# Server-side upstream for the /api/pb proxy. Only used by the proxy route
|
|
# itself; the client never sees this. Falls back to a sane default.
|
|
PB_INTERNAL_URL=http://pocketbase-zinlbpsext2ro0lgb2558vfy.169.239.180.130.sslip.io
|
|
|
|
# Public site URL — used as the base for Open Graph / Twitter card image
|
|
# URLs (link previews in WhatsApp, Slack, iMessage, etc.). Defaults to
|
|
# https://depot.apphub.co.za when unset.
|
|
NEXT_PUBLIC_SITE_URL=http://localhost:4002
|
|
|
|
# Superuser auth token — used by server-side admin operations (migrations, seed).
|
|
# Optional for runtime; required only for the scripts/ helpers.
|
|
PB_ADMIN_TOKEN=
|