How sakerhetspolisen/k works
This is a small Fastify web server: it listens on port 3000, serves static files from the repository root, and maps / to k.html. The source shows the server setup and route; the page contents were not sampled.
Main entry points: k.js Fastify server · k.html Page
Components 4
Other components
- Browser
- Fastify server
k.js - Static plugin
k.js - Page
k.html
Connections 4
- Browser → Fastify server: requests page
- Fastify server → Static plugin: registers
- Fastify server → Page: sends on /
- Static plugin → Page: serves files