mirror of
https://github.com/traberph/short.git
synced 2026-11-22 22:55:12 +00:00
Let page owners turn logo.dev logos on and off
Link pages get a "Website logos" switch on the appearance tab (stored as pages.show_logos, default on). When off, buttons show the letter placeholder and the logo.dev credit is hidden. The switch is disabled with a hint when the server has no LOGO_DEV_TOKEN, which /me now reports as `logoDev`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,7 +55,7 @@ Copy `.env.template` to `.env` and fill it in:
|
||||
| `TIMEZONE` | | Timezone for "today" and the daily stats, default `UTC` |
|
||||
| `TRUST_PROXY` | | `true` behind a reverse proxy, so `X-Forwarded-For` is used for the visitor IP |
|
||||
| `DATA_DIR` | | Database and uploads, default `./data` (`/data` in Docker) |
|
||||
| `LOGO_DEV_TOKEN` | | Shows website logos on link page buttons via [logo.dev](https://logo.dev) (adds an attribution) |
|
||||
| `LOGO_DEV_TOKEN` | | Enables website logos on link page buttons via [logo.dev](https://logo.dev). Page owners can turn them off per page; the logo.dev credit only shows where logos are on |
|
||||
| `DISABLE_ATTRIBUTION` | | `true` hides the "powered by" footer |
|
||||
|
||||
### 3. Run
|
||||
|
||||
Reference in New Issue
Block a user