From 54d4e375e5c1561a9207a4c52e35103784132ff1 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Sun, 19 Apr 2020 17:38:54 -0400 Subject: [PATCH] [fix-server-configs] make resources optional --- src/interfaces/server_configs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/server_configs.ts b/src/interfaces/server_configs.ts index 429ae0aab..b45e2ff17 100644 --- a/src/interfaces/server_configs.ts +++ b/src/interfaces/server_configs.ts @@ -59,7 +59,7 @@ import { Drash } from "../../mod.ts"; * /public/app/index.html exists, then you can go to /public/app and it * will serve the index.html in that static directory. * - * resources: any + * resources?: any * * An array of resources that the server should register. Passing in 0 * resources means clients can't access anything on the server--because @@ -104,7 +104,7 @@ export interface ServerConfigs { memory_allocation?: { multipart_form_data?: number }; middleware?: any; pretty_links?: boolean; - resources: any; + resources?: any; response_output?: string; static_paths?: string[]; views_path?: string;