Skip to content

Commit

Permalink
Merge pull request #192 from drashland/fix-server-configs
Browse files Browse the repository at this point in the history
[fix-server-configs] make resources optional
  • Loading branch information
ebebbington authored Apr 19, 2020
2 parents 0146bc1 + 54d4e37 commit e6edaf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/server_configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e6edaf2

Please sign in to comment.