Skip to content

Commit d001a2f

Browse files
author
Patrick Housley
committed
fix(core): Fix express adapter
1 parent 4cfdbe2 commit d001a2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/core/adapters/express-adapter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ export class ExpressAdapter implements HttpServer {
9999
}
100100

101101
enable(...args) {
102-
return this.instance.set(...args);
102+
return this.instance.enable(...args);
103103
}
104104

105105
disable(...args) {
106-
return this.instance.set(...args);
106+
return this.instance.disable(...args);
107107
}
108108

109109
engine(...args) {
110-
return this.instance.set(...args);
110+
return this.instance.engine(...args);
111111
}
112112

113113
useStaticAssets(path: string, options: ServeStaticOptions) {

0 commit comments

Comments
 (0)