rybbit/client/next.config.js
Andrii Zontov b8d8ad76fb
feat: Disable Sign Up page (#196)
* feat(client): Disable Sign Up page if `DISABLE_SIGNUP` is `true`

* chore(docs): Add `NEXT_PUBLIC_DISABLE_SIGNUP` environment variable

* chore: Add `NEXT_PUBLIC_DISABLE_SIGNUP` environment variable

* fix(client): Add missed imports

* chore: Set correct order for new environment variable

* fix(client): Use corrent login link

* chore(client): Disabling the text about the possibility to create an account if this possibility is disabled
2025-05-10 12:54:33 -07:00

10 lines
271 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
env: {
NEXT_PUBLIC_BACKEND_URL: process.env.NEXT_PUBLIC_BACKEND_URL,
NEXT_PUBLIC_DISABLE_SIGNUP: process.env.NEXT_PUBLIC_DISABLE_SIGNUP,
},
};
module.exports = nextConfig;