Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
const headers = {
|
||||
"Access-Control-Expose-Headers": "Link,Connection,Sec-Websocket-Accept,Upgrade"
|
||||
};
|
||||
export async function SetHeadersMiddleware(ctx, next) {
|
||||
ctx.set(headers);
|
||||
await next();
|
||||
}
|
||||
Reference in New Issue
Block a user