Socket
Socket
Sign inDemoInstall

adon-api

Package Overview
Dependencies
107
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.0 to 2.4.1

4

dist/src/ExpressApp/index.js

@@ -25,3 +25,3 @@ "use strict";

const RouteManager_1 = __importDefault(require("./RouteManager"));
const PUBLIC_PATH = '../../public';
const PUBLIC_PATH = '/public';
class ExpressApp {

@@ -58,3 +58,3 @@ get isReady() {

this.log.debug(config_1.default);
const publicPath = path_1.default.join(__dirname, PUBLIC_PATH);
const publicPath = path_1.default.join(this.rootDir, PUBLIC_PATH);
this.log.info(`Setting public path in ${publicPath}`);

@@ -61,0 +61,0 @@ this._app.use(express_1.default.static(publicPath));

{
"name": "adon-api",
"version": "2.4.0",
"version": "2.4.1",
"description": "API for all Adon-based projects",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

Sorry, the diff of this file is not supported yet

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