summaryrefslogtreecommitdiffhomepage
path: root/src/main.ts
blob: 3717eb76efa1e4c783c7b623b2a12177e9c4f0d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { mount } from 'svelte'
import './app.css'
import App from './App.svelte'
import { imageCache } from './lib/cache'

// Prune expired cache entries on startup (fire-and-forget)
void imageCache.pruneExpired();

const app = mount(App, {
  target: document.getElementById('app')!,
})

export default app