File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ class Gateway extends EventEmitter {
142142 } , { } ) ;
143143 headers [ 'access-control-allow-origin' ] = headers [ 'access-control-allow-origin' ] || '*' ;
144144 headers [ 'access-control-allow-headers' ] = headers [ 'access-control-allow-headers' ] || req . headers [ 'access-control-request-headers' ] || '' ;
145- headers [ 'access-control-expose-headers' ] = Object . keys ( headers ) . join ( ', ' ) ;
146145 headers [ 'x-functionscript' ] = 'true' ;
146+ headers [ 'access-control-expose-headers' ] = Object . keys ( headers ) . concat ( 'x-execution-uuid' ) . join ( ', ' ) ;
147147 return headers ;
148148 }
149149
Original file line number Diff line number Diff line change 11{
22 "name" : " functionscript" ,
3- "version" : " 2.1.0 " ,
3+ "version" : " 2.1.1 " ,
44 "description" : " A language and specification for turning JavaScript functions into typed HTTP APIs" ,
55 "author" :
" Keith Horwood <[email protected] >" ,
66 "main" : " index.js" ,
You can’t perform that action at this time.
0 commit comments