Commit Graph

4 Commits

Author SHA1 Message Date
root
7ec360c5d1 Implement proper deposit tracking for coin trackers
- Added deposit/withdrawal history section to each coin tracker
- Created addDepositEntry function for managing deposits
- Fixed updateInvestedChart to use actual deposit history instead of flawed logic
- Total Deposited Value now reflects actual money invested, not market performance
- Portfolio Value and Total Deposited Value are now properly separated
- Supports migration of existing Initial Capital as first deposit
2025-09-19 15:01:23 +02:00
root
f90f6ed618 Configure API requests for reverse proxy setup
- Updated all API endpoints to use /rechner/api/ path
- Removed CSP localhost restriction for reverse proxy compatibility
- Added nginx proxy configuration for API requests
- Should now work through HTTPS reverse proxy
2025-09-19 13:46:04 +02:00
root
4803ae2d18 Fix coin tracker data persistence issue
- Updated API URLs from localhost:3000 to localhost:3001 in script.js
- Added CORS headers to server.js to enable cross-origin requests
- Changed server port from 3000 to 3001 to avoid port conflicts
- Updated CSP in index.html to allow connections to localhost:3001
- Coin tracker entries now persist across page refreshes
2025-09-19 13:29:59 +02:00
root
23341b8abb Inital Commit 2025-06-24 15:43:32 +02:00