-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathnext.config.js
30 lines (29 loc) · 1.29 KB
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = {
// to load runtime env vars we need to pass them via public runtime config (and disable static optimization)
// this allows us to deploy one bundle into multiple envs
publicRuntimeConfig: {
isLive: process.env.NEXT_PUBLIC_isLive === "true" || false,
isPostponeLive: process.env.NEXT_PUBLIC_isPostponeLive === "true" || false,
navodyBaseUrl: process.env.NEXT_PUBLIC_navodyBaseUrl,
priznanieStepUrl: process.env.NEXT_PUBLIC_priznanieStepUrl,
odkladStepUrl: process.env.NEXT_PUBLIC_odkladStepUrl,
informujteMaKedBudeLive: process.env.NEXT_PUBLIC_informujteMaKedBudeLive,
plausibleDomain: process.env.NEXT_PUBLIC_plausibleDomain,
odkladEmailTemplateId: process.env.NEXT_PUBLIC_odkladEmailTemplateId,
priznanieEmailTemplateId: process.env.NEXT_PUBLIC_priznanieEmailTemplateId,
autoformPublicToken: '61e4225378747a32f0e65ddd106a6fc18f5f82e81d58a539d86178a09128e47342ddc5d47ffe4073'
},
/**
* Redirect to navody.
* It is used in the beggining of the year when the updated version is not ready yet */
// async redirects() {
// return [
// {
// source: '/',
// destination:
// 'https://navody.digital/zivotne-situacie/elektronicke-podanie-danoveho-priznania',
// statusCode: 302,
// },
// ]
// },
}