0
0
mirror of https://github.com/sp-tarkov/db-website.git synced 2025-02-08 02:10:54 -05:00

added .env.production to frontend

This commit is contained in:
TheSparta 2024-04-08 15:15:44 +01:00
parent 70abf1d8c7
commit 558f1b4767
3 changed files with 6 additions and 1 deletions

View File

@ -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_HOME=https://www.sp-tarkov.com/
VITE_SPTARKOV_WORKSHOP=https://mods.sp-tarkov.com/ VITE_SPTARKOV_WORKSHOP=https://mods.sp-tarkov.com/
VITE_SPTARKOV_DOCUMENTATION=https://docs.sp-tarkov.com/ VITE_SPTARKOV_DOCUMENTATION=https://docs.sp-tarkov.com/

4
frontend/.env.production Normal file
View File

@ -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/

View File

@ -6,6 +6,7 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
"build:prod": "tsc && vite build --mode production",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview", "preview": "vite preview",
"cy:open": "cypress open", "cy:open": "cypress open",