Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.selfhost.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

DATABASE_URL=postgresql://revampit:YOUR_PROD_PASSWORD@localhost:15432/revampit
AUTH_SECRET=your-production-auth-secret
NEXTAUTH_URL=https://revampit.orangecat.ch
NEXT_PUBLIC_SITE_URL=https://revampit.orangecat.ch
NEXTAUTH_URL=https://evig.orangecat.ch
NEXT_PUBLIC_SITE_URL=https://evig.orangecat.ch

# Payrexx — see docs/operations/PAYREXX_SETUP.md (leave unset until go-live)
# PAYREXX_INSTANCE=
Expand Down
2 changes: 1 addition & 1 deletion docs/MISSION_STATEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ organisations can adopt it directly.

- **Organisation**: evig (in Gründung)
- **Base**: Zürich, Switzerland (online-first; no public store or warehouse)
- **Website**: https://revampit.orangecat.ch (live host; `evig.orangecat.ch` pending DNS/infra cutover)
- **Website**: https://evig.orangecat.ch (`revampit.orangecat.ch` remains a working alias)
- **Legal status**: gemeinnütziger Verein in Gründung

---
Expand Down
9 changes: 4 additions & 5 deletions src/config/org.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ export const ORG = {
/** Short description */
description: 'Gute, langlebige Technik für alle bezahlbar — kuratiert statt Ramsch.',
/**
* Current production app URL — the LIVE host (Layer B infra). `evig.orangecat.ch`
* has no DNS yet; pointing here at a non-resolving domain broke the canonical /
* JSON-LD / OG URLs. Keep the working host until the infra cutover (DNS + Caddy
* vhost + deploy paths) makes `evig.orangecat.ch` real, then flip this one line.
* Current production app URL. `evig.orangecat.ch` is live (DNS + Caddy vhost →
* the app on the Hetzner box, HTTPS). `revampit.orangecat.ch` remains a working
* alias until the deploy paths / systemd identifiers are cut over (Layer B).
*/
website: 'https://revampit.orangecat.ch',
website: 'https://evig.orangecat.ch',
/** evig has no legacy site (new organisation). Empty hides the "zur aktuellen Site" banner. */
websiteLegacy: '',
/** Email domain. TODO: register evig.ch + mailboxes. Staff-auth domain lives in permissions.ts. */
Expand Down
6 changes: 3 additions & 3 deletions src/config/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ export const APP_URL =
* DISTINCT from APP_URL: never falls back to NEXTAUTH_URL, which on the box is
* the internal bind port (localhost:4004). Used as Next's `metadataBase` so
* og:image / canonical metadata resolve to real absolute URLs a social scraper
* can fetch — not localhost. Override with NEXT_PUBLIC_SITE_URL when the public
* host changes (e.g. once evig.ch / evig.orangecat.ch goes live).
* can fetch — not localhost. Override with NEXT_PUBLIC_SITE_URL; prod sets it to
* the live host. `revampit.orangecat.ch` remains a working alias.
*/
export const PUBLIC_SITE_URL =
process.env.NEXT_PUBLIC_SITE_URL || 'https://revampit.orangecat.ch'
process.env.NEXT_PUBLIC_SITE_URL || 'https://evig.orangecat.ch'

/**
* Meilisearch URL
Expand Down
Loading