feat: privacy-respecting analytics
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
2170e9275c
commit
e10c1dc8aa
@@ -12,6 +12,7 @@ import { betsRouter } from './routes/bets.js'
|
||||
import { paymentsRouter } from './routes/payments.js'
|
||||
import { tournamentsRouter } from './routes/tournaments.js'
|
||||
import { adminRouter } from './routes/admin.js'
|
||||
import { statsRouter } from './routes/stats.js'
|
||||
import { rateLimit } from './middleware/rate-limit.js'
|
||||
|
||||
import { existsSync, readFileSync } from 'fs'
|
||||
@@ -62,6 +63,7 @@ app.route('/api/bets', betsRouter)
|
||||
app.route('/api/payments', paymentsRouter)
|
||||
app.route('/api/tournaments', tournamentsRouter)
|
||||
app.route('/api/admin', adminRouter)
|
||||
app.route('/api/stats', statsRouter)
|
||||
|
||||
// In production, serve the frontend SPA
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
Reference in New Issue
Block a user