Apply .gitignore cleanup

This commit is contained in:
admin
2025-10-05 09:21:04 +07:00
parent d2a7a3e478
commit 3448594bc5
3515 changed files with 20582 additions and 1501448 deletions

52
frontend/next.config.js Executable file → Normal file
View File

@@ -1,26 +1,26 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// แนะนำย้ายค่าพวกนี้ไป .env(.local) แล้วใช้ process.env ฝั่งโค้ดแทน
// เก็บไว้ชั่วคราวได้ถ้ายังไม่ทำ .env
env: {
NEXT_PUBLIC_API_BASE: process.env.NEXT_PUBLIC_API_BASE || "http://localhost:8080"
},
images: {
remotePatterns: [
// { protocol: "https", hostname: "lcbp3.np-dms.work" },
],
},
// ลดโอกาส build ล้มเพราะ lint (เฉพาะ production build)
eslint: {
ignoreDuringBuilds: true,
},
// ถ้าไม่มี TypeScript ไม่ต้องใส่ส่วนนี้
// typescript: { ignoreBuildErrors: true },
};
module.exports = nextConfig;
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// แนะนำย้ายค่าพวกนี้ไป .env(.local) แล้วใช้ process.env ฝั่งโค้ดแทน
// เก็บไว้ชั่วคราวได้ถ้ายังไม่ทำ .env
env: {
NEXT_PUBLIC_API_BASE: process.env.NEXT_PUBLIC_API_BASE || "http://localhost:8080"
},
images: {
remotePatterns: [
// { protocol: "https", hostname: "lcbp3.np-dms.work" },
],
},
// ลดโอกาส build ล้มเพราะ lint (เฉพาะ production build)
eslint: {
ignoreDuringBuilds: true,
},
// ถ้าไม่มี TypeScript ไม่ต้องใส่ส่วนนี้
// typescript: { ignoreBuildErrors: true },
};
module.exports = nextConfig;