Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .omc/project-memory.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@
"lastAccessed": 1776433904397,
"type": "file"
},
{
"path": "packages/web/next.config.js",
"accessCount": 4,
"lastAccessed": 1779965242978,
"type": "file"
},
{
"path": "packages/web/lib/image-loader.ts",
"accessCount": 3,
Expand Down Expand Up @@ -287,12 +293,6 @@
"lastAccessed": 1776391802453,
"type": "file"
},
{
"path": "packages/web/next.config.js",
"accessCount": 2,
"lastAccessed": 1776432841858,
"type": "file"
},
{
"path": "scripts/start-issue.sh",
"accessCount": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ async function requireAdmin() {
return null;
}

export const maxDuration = 600;
// Vercel Hobby plan: maxDuration 1-60s 제한. 긴 compose 작업은 background
// job 패턴 (poll endpoint 와 함께) 으로 처리. Pro plan 업그레이드 시 600 복원 가능.
export const maxDuration = 60;

export async function POST(
request: NextRequest,
Expand Down
3 changes: 2 additions & 1 deletion packages/web/app/api/v1/content/assets/videos/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ async function requireAdmin() {
return null;
}

export const maxDuration = 300;
// Vercel Hobby plan: maxDuration 1-60s 제한. Pro plan 업그레이드 시 300 복원 가능.
export const maxDuration = 60;

export async function POST(request: NextRequest) {
const adminError = await requireAdmin();
Expand Down
4 changes: 3 additions & 1 deletion packages/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const { withSentryConfig } = require("@sentry/nextjs");
const nextConfig = {
reactStrictMode: true,
// Transpile shared package from monorepo
transpilePackages: ["@decoded/shared"],
// `@next/third-parties` 는 Turbopack 의 subpath export 해석 회귀로 추가
// (`@next/third-parties/google` resolve 실패 — vercel/next.js#58697 계열).
transpilePackages: ["@decoded/shared", "@next/third-parties"],
images: {
localPatterns: [{ pathname: "/**" }],
// Direct-optimization allowlist — must stay in sync with
Expand Down
1 change: 0 additions & 1 deletion packages/web/scripts/content-studio-video-local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,6 @@ async function main() {
platform: platform as ShortFormPlatform,
durationSeconds,
variants: [],
useResearchInCopy: false,
});
const scenes = plan.scenes.filter(
(scene) => !selectedSceneIds || selectedSceneIds.has(scene.id)
Expand Down
Loading