fix: enable trust proxy for NPM reverse proxy
Docker Build (ARM64) / Build & Push (push) Successful in 2m57s
Docker Build (ARM64) / Build & Push (push) Successful in 2m57s
This commit is contained in:
@@ -39,6 +39,7 @@ const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const app: Application = express();
|
||||
app.set('trust proxy', 1);
|
||||
const httpServer = createServer(app);
|
||||
const wss = new WebSocketServer({ server: httpServer, verifyClient: verifyWsClient });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user