Skip to content

Commit eab95ca

Browse files
committed
1 parent 80eed00 commit eab95ca

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

backend/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { cors } from 'hono/cors';
33

44
const app = new Hono();
55

6-
// 디버깅을 위해 모든 출처를 허용하는 가장 단순한 CORS 설정....
6+
// 디버깅을 위해 모든 출처를 허용하는 가장 단순한 CORS 설정...
77
app.use('*', cors());
88

99
// 다른 모든 라우트를 제거하고, 오직 이 테스트 라우트만 남깁니다.

frontend/src/routes/+layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// frontend/src/routes/+layout.ts
22

3-
// SvelteKit의 개발/프로덕션 모드 환경 변수를 가져옵니다.
3+
// SvelteKit의 개발/프로덕션 모드 환경 변수를 가져옵니다..
44
import { dev } from '$app/environment';
55
// SvelteKit 전용 애널리틱스 모듈을 가져옵니다.
66
import { injectAnalytics } from '@vercel/analytics/sveltekit';

vercel.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"builds": [
4+
{
5+
"src": "frontend/package.json",
6+
"use": "@vercel/static-build",
7+
"config": {
8+
"distDir": "build"
9+
}
10+
},
11+
{
12+
"src": "backend/api/**/*.ts",
13+
"use": "@vercel/node"
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)