CHORE(merge): merge from develop
- Initial setup and all features from develop branch - Includes: auth, deploy, docker, style fixes - K3S deployment configuration
This commit is contained in:
33
nextjs/next.config.ts
Normal file
33
nextjs/next.config.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { NextConfig } from "next";
|
||||
import { config } from "dotenv";
|
||||
import { resolve } from "path";
|
||||
|
||||
// Load .env file from the parent directory (jaejadle folder)
|
||||
config({ path: resolve(__dirname, "../../.env") });
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
images: {
|
||||
unoptimized: true, // 런타임 최적화 비활성화 (이미 최적화된 이미지 사용)
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "s3.minio0213.kro.kr",
|
||||
},
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "*.s3.*.amazonaws.com", // AWS S3 (모든 리전)
|
||||
},
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "s3.*.amazonaws.com", // AWS S3 path-style
|
||||
},
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "img.youtube.com",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user