Skip to content

Commit 41eaa60

Browse files
authored
Merge pull request #54 from HORNET-Storage/feature/api-migration-and-personal-mode
Feature/api migration and personal mode
2 parents bc7d9ae + 61822ba commit 41eaa60

File tree

8 files changed

+441
-15
lines changed

8 files changed

+441
-15
lines changed

.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ REACT_APP_BASE_URL=http://localhost:9002
22
REACT_APP_WALLET_BASE_URL=http://localhost:9003
33
REACT_APP_ASSETS_BUCKET=http://localhost
44
REACT_APP_DEMO_MODE=false
5+
REACT_APP_BASENAME=
56

67
# More info https://create-react-app.dev/docs/advanced-configuration
78
ESLINT_NO_DEV_ERRORS=true

.env.production

Lines changed: 0 additions & 7 deletions
This file was deleted.

.env.production.example

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Production Environment Configuration Example
2+
# Copy this file to .env.production and update with your actual values
3+
4+
# API Base URLs - Update these to your actual backend URLs
5+
REACT_APP_BASE_URL=https://your-domain.com/panel
6+
REACT_APP_WALLET_BASE_URL=https://your-domain.com/wallet
7+
8+
# Asset serving configuration
9+
REACT_APP_ASSETS_BUCKET=https://your-domain.com
10+
11+
# Demo mode (set to true for demo, false for production)
12+
REACT_APP_DEMO_MODE=false
13+
14+
# Router basename - where your React app will be served from
15+
# Use empty string for root path, or /admin, /dashboard, etc.
16+
REACT_APP_BASENAME=/front
17+
18+
# Public URL for static assets - should match REACT_APP_BASENAME
19+
PUBLIC_URL=/front
20+
21+
# More info https://create-react-app.dev/docs/advanced-configuration
22+
ESLINT_NO_DEV_ERRORS=true
23+
TSC_COMPILE_ON_ERROR=true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
.env.development.local
2323
.env.test.local
2424
.env.production.local
25+
.env.production
2526

2627
npm-debug.log*
2728
yarn-debug.log*

0 commit comments

Comments
 (0)