mirror of
https://github.com/sasjs/server.git
synced 2026-01-08 07:00:04 +00:00
fix(file): fixes response headers
This commit is contained in:
@@ -148,7 +148,7 @@ ${program}`
|
||||
? await readFile(headersPath)
|
||||
: ''
|
||||
const httpHeaders: HTTPHeaders = extractHeaders(headersContent)
|
||||
const fileResponse: boolean = httpHeaders.hasOwnProperty('Content-Type')
|
||||
const fileResponse: boolean = httpHeaders.hasOwnProperty('content-type')
|
||||
|
||||
const webout = (await fileExists(weboutPath))
|
||||
? fileResponse
|
||||
|
||||
Reference in New Issue
Block a user