Skip to content

Commit d292ddf

Browse files
committed
add: ShopAPI 도메인 정의 추가
1 parent 7d60b33 commit d292ddf

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

dotenv/.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
VITE_PYCONKR_SHOP_API_DOMAIN=https://shop-api.dev.pycon.kr
22
VITE_PYCONKR_SHOP_CSRF_COOKIE_NAME=DEBUG_csrftoken
3+
VITE_PYCONKR_SHOP_IMP_ACCOUNT_ID=imp80859147

dotenv/.env.production

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
VITE_PYCONKR_SHOP_API_DOMAIN=https://shop-api.pycon.kr
22
VITE_PYCONKR_SHOP_CSRF_COOKIE_NAME=csrftoken
3+
VITE_PYCONKR_SHOP_IMP_ACCOUNT_ID=imp96676915

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ import mdx from "@mdx-js/rollup";
22
import react from "@vitejs/plugin-react";
33
import path from 'path';
44
import { defineConfig } from "vite";
5+
import mkcert from 'vite-plugin-mkcert';
56

67
// https://vite.dev/config/
78
export default defineConfig({
89
base: "/frontend/",
910
envDir: "./dotenv",
10-
plugins: [react(), mdx()],
11+
plugins: [react(), mdx(), mkcert({ hosts: ["local.dev.pycon.kr"] })],
1112
resolve: {
1213
alias: {
1314
'@pyconkr-common': path.resolve(__dirname, './package/pyconkr-common'),

0 commit comments

Comments
 (0)