| author | Jose Quintana <joseluisquintana20@gmail.com> | 2021-02-10 1:01:30.0 +00:00:00 |
|---|---|---|
| committer | Jose Quintana <joseluisquintana20@gmail.com> | 2021-02-10 1:01:30.0 +00:00:00 |
| commit | 793230b8ef73c3d775024087cb92e731c7b9e5bb [patch] |
|
| tree | c81ea5afad50d0e2427f54300369c2aadc7b6eb0 |
|
| parent | feac82e1e8b0015c364e721b139d4661acc7852e |
|
| download | 793230b8ef73c3d775024087cb92e731c7b9e5bb.tar.gz |
|
fix: lint warnings
Diff
src/config.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/config.rs b/src/config.rs index 1d42404..976cadc 100644 /// Specify a CORS list of allowed origin hosts separated by comas. Host ports or protocols aren't being checked. Use an asterisk (*) to allow any host. pub cors_allow_origins: String, long, short = "i", env = "SERVER_DIRECTORY_LISTING" )] /// Enable directory listing for all requests ending with the slash character (‘/’). pub directory_listing: bool, }