Public: anyone can read this; nobody can change it.

Serve the page-view beacon: .js files have a type #3

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

serve-js → main 0 commits

  • Merged. serve-js was merged into main as 987e2e7.

Review

Sign in to review this change.
1 file changed +1 −0
src/server.ts +1
@@ -7,6 +7,7 @@ const dir = join(import.meta.dir, "..", "static");
77 const types: Record<string, string> = {
88 html: "text/html; charset=utf-8",
99 css: "text/css; charset=utf-8",
10 js: "text/javascript; charset=utf-8",
1011 svg: "image/svg+xml",
1112 png: "image/png",
1213 pdf: "application/pdf",

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs