foldbank-mock/web/next.config.js
Ameya Shenoy a9c91faaf3
fix: use prod api
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2023-03-23 17:28:14 +05:30

34 lines
680 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
icons: {
icon: '/favicon.ico',
},
images: {
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost:8000',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'api.foldbank.codingcoffee.me',
port: '',
pathname: '/**',
},
],
},
experimental: {
appDir: true,
},
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
}
module.exports = nextConfig