dynamic-self-register-proxy 1.0.8 → 1.0.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/proxy.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynamic-self-register-proxy",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Dynamic reverse proxy with self-registration API - applications can register themselves and receive an automatically assigned port",
5
5
  "main": "proxy-client.js",
6
6
  "bin": {
package/proxy.js CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  const express = require('express');
4
4
  const { createProxyMiddleware } = require('http-proxy-middleware');
5
+ const { setupLogging } = require('./logger');
6
+
7
+ // Initialisation du logging
8
+ setupLogging('PROXY');
5
9
 
6
10
  const app = express();
7
11
  app.use(express.json());