app/routes/security-txt.ts
10 lines and 1 functions in DrDustinEdwards/dustinedwards-info, at commit 1590ba4 on 2026-10-24. This file on GitHub.
Functions
| Function | Lines | Complexity | Covered | CRAP | Mutation |
|---|---|---|---|---|---|
| loader | 4 to 11 | 1 | No data: no coverage report in this map | No data: no coverage report in this map | No data: no mutants in this code |
Imports
It imports app/lib/security-txt.mjs, app/lib/seo.ts. No module of this repo imports it.
Source
import { securityTxt } from "~/lib/security-txt.mjs";
import { HOURLY_CACHE_CONTROL, SITE_ORIGIN } from "~/lib/seo";
export function loader() {
return new Response(securityTxt(SITE_ORIGIN), {
headers: {
"content-type": "text/plain; charset=utf-8",
"cache-control": HOURLY_CACHE_CONTROL,
},
});
}