Skip to content

Commit 3c88046

Browse files
committed
Update to last framework version
1 parent d0d17ff commit 3c88046

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

dist/app/CorsPlugin.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/app/CorsPlugin.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"author": "",
1212
"license": "ISC",
1313
"dependencies": {
14-
"bap-node-microframework": "git+https://github.com/bap-node-microframework/node-microframework.git"
14+
"bap-node-microframework": "0.1.6"
1515
}
1616
}

src/app/CorsPlugin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ export class CorsPlugin {
1212
callback(null, true);
1313
}
1414
};
15-
Container.setApplicationInstance(container);
16-
Container.getApplicationInstance().get('app').use(cors(this.instance));
15+
Container.get('app').use(cors(this.instance));
1716
}
1817

1918
getInstance() {

0 commit comments

Comments
 (0)