260826_03_ENH: 파일 조회 경로 변경

This commit is contained in:
2026-08-26 15:42:26 +09:00
parent 970750a087
commit 5279ddf90a
5 changed files with 6 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ import {createEnv, createKriNextConfig, env} from "@kri/common/config";
const nextEnv = createEnv({
API_SERVER: env.required("API_SERVER", process.env.API_SERVER),
BACK_SERVER: env.required("BACK_SERVER", process.env.BACK_SERVER),
});
const nextConfig = createKriNextConfig({
@@ -10,7 +11,7 @@ const nextConfig = createKriNextConfig({
return [
{
source: "/files/:path*",
destination: `${nextEnv.API_SERVER}/files/:path*`,
destination: `${nextEnv.BACK_SERVER}/files/:path*`,
},
];
},