@mappable-world/mappable-cli
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "@mappable-world/mappable-cli", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Library for encapsulating the logic of autotests and building packages mappable.world js API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -20,3 +20,3 @@ const path = require('path'); | ||
devServer.app.get('/*', (req, res, next) => { | ||
const file = path.join(dir, req.url); | ||
const file = path.join(dir, req.path); | ||
@@ -47,3 +47,3 @@ if (!fs.existsSync(file)) { | ||
let rs = fs.createReadStream(file); | ||
if (/\.html?$/.test(req.url)) { | ||
if (/\.html?$/.test(req.path)) { | ||
const readmeFile = path.join(dir, 'README.md'); | ||
@@ -50,0 +50,0 @@ const readme = fs.existsSync(readmeFile) ? fs.readFileSync(readmeFile, 'utf-8') : ''; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57309