-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
next.config.js
19 lines (18 loc) · 910 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
env: {
PGUSER: process.env.PGUSER,
PGHOST: process.env.PGHOST,
PGDATABASE: process.env.PGDATABASE,
PGPASSWORD: process.env.PGPASSWORD,
PGPORT: process.env.PGPORT,
META_TITLE: (process.env.BRANDING !== 'false') ? (process.env.META_TITLE ?? 'Under construction') + ' - Singlelink' : (process.env.META_TITLE ?? 'Under construction'),
META_DESC: (process.env.BRANDING !== 'false') ? (process.env.META_DESC ?? 'Another micro-site waiting to be built!') + ' Built with Singlelink.' : (process.env.META_DESC ?? 'Another micro-site waiting to be built!'),
META_IMG: process.env.META_IMG ?? 'https://singlelink.co/og-image-updated.jpg',
BRANDING: (process. env.BRANDING !== 'false') ?? true,
SECRET: process.env.SECRET,
PASSWORD: process.env.PASSWORD
}
}
module.exports = nextConfig