Public: anyone can read this; nobody can change it.
Serve the page-view beacon: .js files have a type #3
Check · Review · Land · Live done — Landed and live in production.
serve-js → main 0 commits
1 file
changed +1
−0
src/server.ts +1
| @@ -7,6 +7,7 @@ const dir = join(import.meta.dir, "..", "static"); | ||
| 7 | 7 | const types: Record<string, string> = { |
| 8 | 8 | html: "text/html; charset=utf-8", |
| 9 | 9 | css: "text/css; charset=utf-8", |
| 10 | js: "text/javascript; charset=utf-8", | |
| 10 | 11 | svg: "image/svg+xml", |
| 11 | 12 | png: "image/png", |
| 12 | 13 | pdf: "application/pdf", |
new above
offline