♻️ validate env and add remote fossorial API as an env variable

This commit is contained in:
Fred KISSIE
2025-11-05 06:54:56 +01:00
parent 03e0e8d9c2
commit a26a441d56
7 changed files with 176 additions and 97 deletions

17
next.config.ts Normal file
View File

@@ -0,0 +1,17 @@
import { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
import { pullEnv } from "./src/lib/pullEnv";
// validate env variables on build and such
pullEnv();
const withNextIntl = createNextIntlPlugin();
const nextConfig: NextConfig = {
eslint: {
ignoreDuringBuilds: true
},
output: "standalone"
};
export default withNextIntl(nextConfig);