json-server
Advanced tools
Comparing version 0.16.0 to 0.16.1
@@ -21,3 +21,3 @@ "use strict"; | ||
const userDir = path.join(process.cwd(), 'public'); | ||
const defaultDir = path.join(__dirname, '../front'); | ||
const defaultDir = path.join(__dirname, '../../public'); | ||
const staticDir = fs.existsSync(userDir) ? userDir : defaultDir; | ||
@@ -24,0 +24,0 @@ opts = Object.assign({ |
{ | ||
"name": "json-server", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"description": "Get a full fake REST API with zero coding in less than 30 seconds", | ||
@@ -5,0 +5,0 @@ "main": "./lib/server/index.js", |
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
69110
39
1240