2026-02-10 11:32:49 -08:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
const nextConfig = {
|
|
|
|
|
reactStrictMode: true,
|
|
|
|
|
output: 'standalone',
|
2026-04-10 12:52:17 -07:00
|
|
|
async redirects() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
source: '/more',
|
|
|
|
|
destination: '/operations',
|
|
|
|
|
permanent: true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
source: '/docs.html',
|
|
|
|
|
destination: '/docs',
|
|
|
|
|
permanent: true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
source: '/docs/transaction-compliance',
|
|
|
|
|
destination: '/docs/transaction-review',
|
|
|
|
|
permanent: true,
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
},
|
2026-03-02 12:14:13 -08:00
|
|
|
// If you see a workspace lockfile warning: align on one package manager (npm or pnpm) in frontend, or ignore for dev/build.
|
2026-02-10 11:32:49 -08:00
|
|
|
env: {
|
2026-04-07 23:22:12 -07:00
|
|
|
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL ?? '',
|
|
|
|
|
NEXT_PUBLIC_CHAIN_ID: process.env.NEXT_PUBLIC_CHAIN_ID ?? '138',
|
2026-02-10 11:32:49 -08:00
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module.exports = nextConfig
|