Aligner les valeurs de repli de NEXT_PUBLIC_SITE_URL sur fokan.fr
Some checks are pending
CI / verify (push) Waiting to run
Some checks are pending
CI / verify (push) Waiting to run
Le domaine réel est fokan.fr depuis un moment (.env, legal.ts, contact@fokan.fr, BIMI), mais sitemap.ts, robots.ts, layout.tsx et checkout/route.ts gardaient encore l'ancien fokan.g0tch.myds.me comme valeur par défaut si la variable d'env est absente.
This commit is contained in:
parent
8776f8ce0b
commit
a1116e05c5
5 changed files with 5 additions and 5 deletions
|
|
@ -31,7 +31,7 @@ DATABASE_URL=postgres://fokan:fokan@fokan-db:5432/fokan
|
|||
# Comptes (better-auth, § 25) — secret long et aléatoire, JAMAIS commité.
|
||||
# Générer avec : openssl rand -hex 32
|
||||
BETTER_AUTH_SECRET=
|
||||
NEXT_PUBLIC_SITE_URL=https://fokan.g0tch.myds.me
|
||||
NEXT_PUBLIC_SITE_URL=https://fokan.fr
|
||||
|
||||
# Sel du compteur de lectures libres des guides (D-042) — les deux guides entiers par visiteur.
|
||||
# Générer avec : openssl rand -hex 32
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ export async function POST(req: NextRequest) {
|
|||
if (!household) return NextResponse.json({ error: "foyer introuvable" }, { status: 404 });
|
||||
|
||||
const session = await auth.api.getSession({ headers: await headers() });
|
||||
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL ?? "https://fokan.g0tch.myds.me";
|
||||
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL ?? "https://fokan.fr";
|
||||
|
||||
/**
|
||||
* Le consentement N'EST PLUS horodaté ici (audit S5) : cette route n'est pas authentifiée, et
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { SiteFooter } from "@/components/footer";
|
|||
import { fontDisplay, fontSans } from "@/lib/fonts";
|
||||
import "./globals.css";
|
||||
|
||||
const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "https://fokan.g0tch.myds.me";
|
||||
const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "https://fokan.fr";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL(SITE_URL),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import type { MetadataRoute } from "next";
|
||||
|
||||
const BASE = process.env.NEXT_PUBLIC_SITE_URL ?? "https://fokan.g0tch.myds.me";
|
||||
const BASE = process.env.NEXT_PUBLIC_SITE_URL ?? "https://fokan.fr";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import type { MetadataRoute } from "next";
|
||||
import { loadSeoPages } from "@/knowledge/loader";
|
||||
|
||||
const BASE = process.env.NEXT_PUBLIC_SITE_URL ?? "https://fokan.g0tch.myds.me";
|
||||
const BASE = process.env.NEXT_PUBLIC_SITE_URL ?? "https://fokan.fr";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
return [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue