Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config: #258 스테이징 환경에 https 설정 적용 #259

Merged
merged 2 commits into from
Nov 4, 2024
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ dist-ssr
.env.test.local
.env.production.local

# https local cert
localhost-key.pem
localhost.pem

# etc
.history
.eslintcache
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"type": "module",
"scripts": {
"dev": "vite",
"staging": "tsc --project tsconfig.prod.json && vite build --mode staging",
"build:staging": "tsc --project tsconfig.prod.json && vite build --mode staging",
"serve:staging": "serve -s dist -l 5713 --ssl-cert localhost.pem --ssl-key localhost-key.pem",
"build": "tsc --project tsconfig.prod.json && vite build",
"serve:dist": "serve -s dist -l 5713",
"lint": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "vitest --watch",
Expand Down