mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Set header properly
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
parent
cd55a1b9fc
commit
33ac99efd6
@ -10,7 +10,7 @@ module.exports = async (event, context) => {
|
||||
let res = await info(content)
|
||||
return context
|
||||
.status(200)
|
||||
.headers("Content-Type", "text/plain")
|
||||
.headers({"Content-Type": "text/plain"})
|
||||
.succeed(res)
|
||||
}
|
||||
|
||||
|
@ -96,5 +96,3 @@ functions:
|
||||
image: functions/nodeinfo-http:latest
|
||||
environment:
|
||||
RAW_BODY: true
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user