Skip to content

Commit e487043

Browse files
committedSep 17, 2021
add unity-hack option
1 parent 167958e commit e487043

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎bin/servez

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const optionSpec = {
3030
{ option: 'local', type: 'Boolean', description: 'local machine only', default: 'false', },
3131
{ option: 'index', type: 'Boolean', description: 'serve index.html for directories', default: 'true', },
3232
{ option: 'extensions', type: '[String]', description: 'extensions to try if path does not exist', default: '["html"]', },
33+
{ option: 'unity-hack', type: 'Boolean', description: 'ignore .gz and .br when computing content type', default: 'true', },
3334
{ option: 'gzip', type: 'Boolean', description: 'serve .gz files if they exist', default: 'false', },
3435
{ option: 'brotli', type: 'Boolean', description: 'serve .br files if they exist', default: 'false', },
3536
{ option: 'robots', type: 'Boolean', description: 'serve a robots.txt if one does not exist', default: 'true', },

0 commit comments

Comments
 (0)
Please sign in to comment.