Socket
Socket
Sign inDemoInstall

bull-arena

Package Overview
Dependencies
84
Maintainers
29
Versions
108
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.30.3 to 3.30.4

25

index.js

@@ -12,13 +12,16 @@ const express = require('express');

app.locals.appBasePath = listenOpts.basePath || app.locals.appBasePath;
app.use(
app.locals.appBasePath,
express.static(path.join(__dirname, 'public'))
);
app.use(app.locals.appBasePath, routes);
const port = listenOpts.port || 4567;
const host = listenOpts.host || '0.0.0.0'; // Default: listen to all network interfaces.
if (!listenOpts.disableListen) {
if (listenOpts.disableListen) {
app.locals.appBasePath =
listenOpts.basePath == '/' ? app.locals.appBasePath : listenOpts.basePath;
app.use(
listenOpts.basePath ? listenOpts.basePath : '/',
express.static(path.join(__dirname, 'public'))
);
app.use(listenOpts.basePath ? listenOpts.basePath : '/', routes);
} else {
const appBasePath = listenOpts.basePath || app.locals.appBasePath;
app.use(appBasePath, express.static(path.join(__dirname, 'public')));
app.use(appBasePath, routes);
const port = listenOpts.port || 4567;
const host = listenOpts.host || '0.0.0.0'; // Default: listen to all network interfaces.
app.listen(port, host, () => {

@@ -25,0 +28,0 @@ console.log(`Arena is running on port ${port} at host ${host}`);

@@ -62,3 +62,3 @@ {

"repository": "https://github.com/bee-queue/arena.git",
"version": "3.30.3"
"version": "3.30.4"
}

@@ -8,2 +8,3 @@ const QueueHelpers = require('../helpers/queueHelpers');

const basePath = req.baseUrl;
if (!flow)

@@ -10,0 +11,0 @@ return res.status(404).render('dashboard/templates/flowNotFound', {

@@ -8,2 +8,3 @@ const QueueHelpers = require('../helpers/queueHelpers');

const basePath = req.baseUrl;
if (!queue)

@@ -10,0 +11,0 @@ return res.status(404).render('dashboard/templates/queueNotFound', {

@@ -83,2 +83,3 @@ const _ = require('lodash');

const basePath = req.baseUrl;
if (!queue)

@@ -85,0 +86,0 @@ return res.status(404).render('dashboard/templates/queueNotFound', {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc