diff --git a/frontend/.env.example b/frontend/.env.example index 1220b80..6837c78 100644 --- a/frontend/.env.example +++ b/frontend/.env.example @@ -1,4 +1,4 @@ -VITE_BACKEND_URL=https://{{ SPT_ITEMS_HOSTNAME }} +VITE_BACKEND_URL=https://localhost:3000 VITE_SPTARKOV_HOME=https://www.sp-tarkov.com/ VITE_SPTARKOV_WORKSHOP=https://mods.sp-tarkov.com/ VITE_SPTARKOV_DOCUMENTATION=https://docs.sp-tarkov.com/ diff --git a/frontend/.env.production b/frontend/.env.production new file mode 100644 index 0000000..780087a --- /dev/null +++ b/frontend/.env.production @@ -0,0 +1,4 @@ +VITE_BACKEND_URL=https://db.sp-tarkov.com +VITE_SPTARKOV_HOME=https://www.sp-tarkov.com/ +VITE_SPTARKOV_WORKSHOP=https://mods.sp-tarkov.com/ +VITE_SPTARKOV_DOCUMENTATION=https://docs.sp-tarkov.com/ diff --git a/frontend/package.json b/frontend/package.json index 78119c0..d30401b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "vite", "build": "tsc && vite build", + "build:prod": "tsc && vite build --mode production", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "cy:open": "cypress open",