Revert: feat(server): add safety checks during dev (#1567)

This commit is contained in:
Marvin Hagemeister
2023-08-01 18:10:30 +02:00
committed by GitHub
parent ba413c6412
commit df5931e105
20 changed files with 18 additions and 400 deletions
-13
View File
@@ -427,16 +427,3 @@ export interface PluginRoute {
// deno-lint-ignore no-explicit-any
handler?: Handler<any, any> | Handlers<any, any>;
}
export interface StaticFile {
/** The URL to the static file on disk. */
localUrl: URL;
/** The path to the file as it would be in the incoming request. */
path: string;
/** The size of the file. */
size: number;
/** The content-type of the file. */
contentType: string;
/** Hash of the file contents. */
etag: string;
}