c2-http 1.0.74 → 1.0.76

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.
@@ -21,13 +21,16 @@ class Server {
21
21
  for (const router of this.config.routes) {
22
22
  this.app.use(router);
23
23
  }
24
+ console.log("Rotas livres OK");
24
25
  for (const router of this.config.routesWithToken) {
25
26
  router.use(this.config.tokenCheckMiddleware);
26
27
  this.app.use(router);
27
28
  }
29
+ console.log("Rotas TOKEN OK");
28
30
  this.app.use("/docs", swagger_ui_express_1.default.serve, swagger_ui_express_1.default.setup(global.OPEN_API_DOC));
31
+ console.log("Rotas swagger OK");
29
32
  this.app.listen(this.config.port, async () => {
30
- console.info(`Server running on port ${this.config.port}`);
33
+ console.log(`Server running on port ${this.config.port}`);
31
34
  if (callback) {
32
35
  await callback(this.app);
33
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-http",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
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>",