Commit Graph

57 Commits

Author SHA1 Message Date
2aff879291 added ban redirect correctly
All checks were successful
Build Frontend / Build Frontend (push) Successful in 25s
2026-01-11 03:55:47 +00:00
d794c5ad48 added ban redirect correctly
All checks were successful
Build Frontend / Build Frontend (push) Successful in 10s
2026-01-11 03:45:47 +00:00
5846541329 added ban redirect correctly
All checks were successful
Build Frontend / Build Frontend (push) Successful in 17s
2026-01-11 03:42:35 +00:00
aca0aca310 system now uses seperate pricing.
All checks were successful
Build Frontend / Build Frontend (push) Successful in 8s
2026-01-11 03:33:29 +00:00
02d9727a72 system now uses seperate pricing.
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s
2026-01-11 03:31:54 +00:00
7a32454b83 system now uses seperate pricing.
All checks were successful
Build Frontend / Build Frontend (push) Successful in 24s
2026-01-11 03:24:54 +00:00
b686acee8f should fetch prices on load and every hour
All checks were successful
Build Frontend / Build Frontend (push) Successful in 23s
2026-01-11 03:08:16 +00:00
1f62e148e5 fixed routes
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s
2026-01-11 03:02:54 +00:00
ac72c6ad27 fixed routes 2026-01-11 03:01:12 +00:00
bfa028c630 fixed routes
All checks were successful
Build Frontend / Build Frontend (push) Successful in 8s
2026-01-11 02:57:29 +00:00
ef987f54b0 fixed routes
All checks were successful
Build Frontend / Build Frontend (push) Successful in 24s
2026-01-11 02:54:27 +00:00
e549e77811 changed the navbar to work.
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
2026-01-11 02:51:50 +00:00
4b00a2b4fe changed the navbar to work.
All checks were successful
Build Frontend / Build Frontend (push) Successful in 35s
2026-01-11 02:48:49 +00:00
e7f909678b Remove debug logs from WebSocket store
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
- Removed verbose console.log statements
- Kept essential error warning for config fetch failures
- Cleaner production console output
2026-01-11 02:38:10 +00:00
4bc7361946 Remove hardcoded VITE_WS_URL from deployment workflow
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
- Removed VITE_WS_URL from build env vars
- Frontend will now fetch WebSocket URL from backend API
- Fixes ws.turbotrades.dev hardcoding issue
2026-01-11 02:36:24 +00:00
4e6fef197e Fix CORS for WebSocket connections
All checks were successful
Build Frontend / Build Frontend (push) Successful in 23s
- Added www.turbotrades.dev to allowed origins
- Skip CORS validation for WebSocket upgrade requests
- Allow WebSocket connections from any origin with credentials
- Fixes 500 CORS error on /ws endpoint
2026-01-11 02:33:22 +00:00
9bfed45c0f Remove frontend/.env and ensure it's ignored - use .env.production for builds
All checks were successful
Build Frontend / Build Frontend (push) Successful in 20s
- Deleted frontend/.env which was overriding production builds
- Added frontend/.env to .gitignore
- Production builds will now use .env.production correctly
- WebSocket will connect to api.turbotrades.dev/ws
2026-01-11 02:18:36 +00:00
5183fcbd5e Set NODE_ENV to production in .env
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
2026-01-11 02:14:46 +00:00
a23d774ca4 Fix WebSocket fallback URL and add debug logging
All checks were successful
Build Frontend / Build Frontend (push) Successful in 23s
- Fixed fallback to use api.turbotrades.dev instead of window.location.host
- Added console logging to debug WebSocket URL resolution
- Simplified fallback logic - always use API URL domain
- This fixes ws.turbotrades.dev connection errors
2026-01-11 02:10:55 +00:00
53e7197ad5 Remove VITE_WS_URL from frontend .env.production - fetch from backend instead
All checks were successful
Build Frontend / Build Frontend (push) Successful in 21s
Frontend will now fetch WebSocket URL from backend /api/config/public
This allows controlling WebSocket URL from backend .env only
2026-01-11 02:05:48 +00:00
0857b31dcb Add WS_URL to production .env for WebSocket configuration
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
2026-01-11 02:02:14 +00:00
ae18e8b530 Add WebSocket URL to backend config API - frontend now reads from backend .env
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
- Added websocket.url to backend config
- Updated /api/config/public endpoint to return WebSocket URL
- Frontend now fetches WS URL from backend config API
- Falls back to environment variable or auto-generated URL
- Add WS_URL to backend .env: wss://api.turbotrades.dev/ws
2026-01-11 02:01:34 +00:00
0bd3f60627 changed env
All checks were successful
Build Frontend / Build Frontend (push) Successful in 23s
2026-01-11 01:57:51 +00:00
1189d49905 Update .env with production URLs for deployment
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
- Set CORS_ORIGIN to frontend domain
- Set STEAM_REALM and STEAM_RETURN_URL to API domain
- Configure production cookie settings
2026-01-11 01:51:12 +00:00
6c489092ed Add environment validation script
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
2026-01-11 01:49:46 +00:00
5502d403a4 Add PM2 ecosystem config and deployment troubleshooting guide
All checks were successful
Build Frontend / Build Frontend (push) Successful in 23s
- Added ecosystem.config.js for PM2 with watch enabled
- Created .env.production.template with correct production URLs
- Added DEPLOYMENT_FIXES.md with complete troubleshooting guide
- Documented fixes for PM2 watch, login redirect, and WebSocket issues
2026-01-11 01:46:50 +00:00
5411d29ca7 Fix WebSocket connection - use main API domain instead of ws subdomain
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
- Updated WebSocket URL to use api.turbotrades.dev instead of ws.turbotrades.dev
- Added frontend .env.production with correct VITE_WS_URL
- Added frontend .env.development for local development
- WebSocket now connects to wss://api.turbotrades.dev/ws
2026-01-11 01:42:15 +00:00
e7ea8f12b6 Fix login button and improve CORS
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s
- Fixed login URL from /auth/steam to /api/auth/steam
- Updated all Steam login buttons to custom green design with 'Login to Steam' text
- Enhanced CORS configuration with explicit preflight handling
- Added Steam image proxy endpoint for CORS-free image loading
- Improved environment variable management with .env.local support
- Added ENV_SETUP.md guide for environment configuration
2026-01-11 01:39:35 +00:00
91f01cd1cf Use fork mode instead of cluster for PM2
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s
2026-01-11 01:26:59 +00:00
f6251356fa Add MongoDB authentication credentials
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s
2026-01-11 01:19:50 +00:00
61374d9e96 Rename ecosystem config to .cjs for CommonJS compatibility
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
2026-01-11 01:16:54 +00:00
a081c0499b Enable watch mode in ecosystem config
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
2026-01-11 01:16:17 +00:00
432c9c7ca8 Use .env file instead of ecosystem env overrides
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
2026-01-11 01:13:34 +00:00
3dc2882b24 Allow .env to be committed (private repo)
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s
2026-01-11 01:12:21 +00:00
f6e78f1a33 Allow CORS from both localhost and production domain
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
2026-01-11 00:58:30 +00:00
b4f7249774 Add CORS_ORIGIN for production domain
All checks were successful
Build Frontend / Build Frontend (push) Successful in 18s
2026-01-11 00:57:38 +00:00
b1b29d53f6 Add missing Steam bot dependencies
All checks were successful
Build Frontend / Build Frontend (push) Successful in 12s
2026-01-11 00:55:50 +00:00
bca13736d8 Run npm install on server after deployment
All checks were successful
Build Frontend / Build Frontend (push) Successful in 8s
2026-01-11 00:53:44 +00:00
c35a36b85a Switch to SSH key authentication
All checks were successful
Build Frontend / Build Frontend (push) Successful in 20s
2026-01-11 00:51:10 +00:00
3cc774ed05 Add deployment with hardcoded credentials placeholder
Some checks failed
Build Frontend / Build Frontend (push) Failing after 10s
2026-01-11 00:47:09 +00:00
cbc2febe55 Add backend npm install to workflow
All checks were successful
Build Frontend / Build Frontend (push) Successful in 17s
2026-01-11 00:45:53 +00:00
72e04a6258 Simplify: Just build frontend, manual deployment
All checks were successful
Build Frontend / Build Frontend (push) Successful in 7s
2026-01-11 00:45:18 +00:00
64f2dd853e Simplify deployment - use direct SSH/rsync instead of actions
Some checks failed
Deploy to Production / Deploy to turbotrades.dev (push) Failing after 14s
2026-01-11 00:41:49 +00:00
3f763781f8 Fix: Use npm install instead of npm ci
Some checks failed
Deploy to Production / Deploy to turbotrades.dev (push) Failing after 22s
2026-01-11 00:40:12 +00:00
3cc143f696 Fix: Remove npm cache and use password auth
Some checks failed
Deploy to Production / Deploy to turbotrades.dev (push) Failing after 6s
2026-01-11 00:39:17 +00:00
f9568a1b6f Remove manual workflow trigger
Some checks failed
Deploy to Production / Deploy TurboTrades (push) Failing after 2s
2026-01-11 00:33:24 +00:00
8669ee3366 Remove manual workflow trigger
Some checks failed
Deploy to Production / Deploy TurboTrades (push) Has been cancelled
2026-01-11 00:30:19 +00:00
e51c9fdc83 Remove manual workflow trigger
Some checks failed
Deploy to Production / Deploy TurboTrades (push) Has been cancelled
2026-01-11 00:27:34 +00:00
26dba315dd Remove manual workflow trigger
Some checks failed
Deploy to Production / Deploy TurboTrades (push) Has been cancelled
2026-01-11 00:26:17 +00:00
f160d44d23 Remove manual workflow trigger
Some checks failed
Deploy to Production / Deploy to turbotrades.dev (push) Has been cancelled
2026-01-11 00:21:46 +00:00