docs: Updated docs
Server Deploy / deploy (push) Failing after 1m57s

This commit is contained in:
2026-07-28 16:53:42 +01:00
parent 0424547dd4
commit 487de34a50
34 changed files with 369 additions and 577 deletions
+1 -10
View File
@@ -4,19 +4,10 @@ import type { NextConfig } from "next";
// process, never in the browser, so this never needed the NEXT_PUBLIC_ prefix
// that pins a value into the image at build time. NEXT_PUBLIC_API_URL is still
// honoured so an existing deployment passing it keeps working.
const apiUrl =
process.env.API_URL ?? process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8080";
const apiUrl = process.env.API_URL ?? process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:8080";
const nextConfig: NextConfig = {
output: "standalone",
async redirects() {
return [
// Members and SSO moved onto /settings. Permanent, because the old
// page is gone rather than temporarily unavailable — but it costs
// nothing to keep an old bookmark or a linked support reply working.
{ source: "/settings/instance", destination: "/settings", permanent: true },
];
},
async rewrites() {
return [
{