Files
aiameiba_com_new/frontend/next.config.js
T

14 lines
266 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: ['localhost'],
},
// 配置后端API地址
env: {
API_URL: process.env.API_URL || 'http://localhost:24731',
},
}
module.exports = nextConfig