/** @type {import('next').NextConfig} */
const allowedDevOrigins = process.env.PUBLIC_SITE_URL ? [process.env.PUBLIC_SITE_URL] : [];
const nextConfig = {
  images: {
    unoptimized: true,
  },
  allowedDevOrigins,
  env: {
    BACKEND_SERVER_URL: process.env.BACKEND_SERVER_URL,
    // 你还可以加其他需要暴露到前端的变量
  }
};

export default nextConfig;
