Remove unused config
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
0e21aa27f6
commit
e9a68e19ff
|
@ -39,10 +39,6 @@ function is_valid_http_request(req, res, config) {
|
||||||
function HTTPStructured(configuration){
|
function HTTPStructured(configuration){
|
||||||
this.config = configuration;
|
this.config = configuration;
|
||||||
|
|
||||||
this.config["headers"] = {
|
|
||||||
"content-type":"application/cloudevents+json; charset=utf-8"
|
|
||||||
};
|
|
||||||
|
|
||||||
if(!this.config["path"]){
|
if(!this.config["path"]){
|
||||||
this.config["path"] = "/";
|
this.config["path"] = "/";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue