Comparing version 0.2.0 to 0.2.1
@@ -55,3 +55,3 @@ #!/usr/bin/env node | ||
}).then(cert => { | ||
console.log("Successfully fetched authorization server's certificate: " + cert); | ||
console.log(`Successfully fetched ${config.trust}: ${cert}`); | ||
const publicKey = ec.keyFromPublic(cert); | ||
@@ -58,0 +58,0 @@ |
{ | ||
"name": "ellx", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "ELLX resource server", | ||
@@ -9,2 +9,5 @@ "main": "index.js", | ||
}, | ||
"engines": { | ||
"node": ">=12.0.0" | ||
}, | ||
"bin": "./index.js", | ||
@@ -11,0 +14,0 @@ "repository": { |
@@ -77,4 +77,4 @@ const { join } = require('path'); | ||
if (req.method === 'GET') { | ||
if (stats.isDirectory()) await sendDirectory(res, filePath); | ||
else if (stats.isFile()) await sendFile(res, filePath, stats); | ||
if (stats.isDirectory()) return sendDirectory(res, filePath); | ||
else if (stats.isFile()) return sendFile(res, filePath, stats); | ||
else return res.error('Unsupported resource type', 400); | ||
@@ -81,0 +81,0 @@ } |
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
10693