c2-http 1.0.117 → 1.0.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/model/Server.d.ts +1 -1
- package/dist/model/Server.js +1 -1
- package/package.json +1 -1
package/dist/model/Server.d.ts
CHANGED
package/dist/model/Server.js
CHANGED
|
@@ -41,7 +41,7 @@ class Server {
|
|
|
41
41
|
//middlewares de checagem de token obrigatorio
|
|
42
42
|
this.app.use(MiddlewareJwt_1.default.config);
|
|
43
43
|
//middlewares de checagem de token opcional
|
|
44
|
-
this.config.
|
|
44
|
+
this.config.middlewaresCloseControllers?.forEach((middl) => {
|
|
45
45
|
this.app.use(middl);
|
|
46
46
|
});
|
|
47
47
|
for (const closeRouter of this.config.closeControllers) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c2-http",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.118",
|
|
4
4
|
"description": "Biblioteca Typescript para API NodeJS",
|
|
5
5
|
"repository": "https://cabralsilva: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@github.com/cabralsilva/c2-http.git",
|
|
6
6
|
"author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",
|