feat: add rate limiting for CoinGecko API and global error handling

This commit is contained in:
2026-02-04 10:57:47 +01:00
parent 28ac3e03e0
commit 9f3ff3e3cb
6 changed files with 277 additions and 3 deletions

View File

@@ -1,6 +1,10 @@
import { i18n } from './i18n.js'
import { setupGlobalErrorHandler } from './components/error-boundary.js'
async function initApp() {
// Setup global error handling first
setupGlobalErrorHandler()
const savedTheme = localStorage.getItem('theme')
if (savedTheme) {
document.documentElement.dataset.theme = savedTheme