()
| 432 | } |
| 433 | |
| 434 | function createBaseHeaders(): Headers { |
| 435 | return new Headers({ |
| 436 | server: "deno", |
| 437 | // Set "accept-ranges" so that the client knows it can make range requests on future requests |
| 438 | [HEADER.AcceptRanges]: "bytes", |
| 439 | }); |
| 440 | } |
| 441 | |
| 442 | function dirViewerTemplate(dirname: string, entries: EntryInfo[]): string { |
| 443 | const splitDirname = dirname.split("/").filter((path) => Boolean(path)); |
no outgoing calls
no test coverage detected