cache-control config
This commit is contained in:
committed by
Lloyd Brookes
parent
aa11620b8e
commit
1c57d29b3f
@ -46,7 +46,6 @@ if (options.misc.help) {
|
||||
if (options.server['log-format']) {
|
||||
console.error(ansi.format(err.message, 'red'))
|
||||
}
|
||||
})
|
||||
|
||||
const ws = localWebServer({
|
||||
static: {
|
||||
@ -65,6 +64,7 @@ if (options.misc.help) {
|
||||
log: {
|
||||
format: options.server['log-format']
|
||||
},
|
||||
cacheControl: options.server.cacheControl,
|
||||
compress: options.server.compress,
|
||||
mime: options.server.mime,
|
||||
forbid: options.server.forbid,
|
||||
|
Reference in New Issue
Block a user