Self-contained "Share" section on the admin detail page. When no short URL exists yet: shows an optional custom-slug input + "Create short link" button. When one exists: shows the URL with Copy + Open buttons and a collapsed "Replace" form for picking a new slug. Append-only — does not touch existing buttons, the icon system, or feedback.css; uses inline styles + existing fb-* classes only, so it stays out of dokploy's parallel button-system refactor. .env.example documents SHLINK_URL + SHLINK_API_KEY (must be copied from the flexsiebels.de Dokploy app config to fdbck.msbls.de before this works in prod). Refs m/fdbck#2.
18 lines
594 B
Plaintext
18 lines
594 B
Plaintext
# Supabase backend (msupabase / supa.flexsiebels.de)
|
|
SUPABASE_URL=https://supa.flexsiebels.de
|
|
# Optional override if app runs inside the Docker network and should reach kong directly
|
|
# SUPABASE_HOST=http://supabase-kong:8000
|
|
SUPABASE_ANON_KEY=
|
|
SUPABASE_SERVICE_KEY=
|
|
|
|
# Public-facing site URL — used for absolute share links
|
|
PUBLIC_SITE_URL=https://fdbck.msbls.de
|
|
|
|
# Optional cookie scope (leave unset for host-only)
|
|
# COOKIE_DOMAIN=.msbls.de
|
|
|
|
# Shlink short-URL service (admin "Share" feature)
|
|
# SHLINK_URL defaults to https://msbls.de when unset.
|
|
SHLINK_URL=https://msbls.de
|
|
SHLINK_API_KEY=
|