@targetprocess/assets-service
Advanced tools
Comparing version 0.2.1-serviceworker to 0.2.1-serviceworker3
{ | ||
"name": "@targetprocess/assets-service", | ||
"version": "0.2.1-serviceworker", | ||
"version": "0.2.1-serviceworker3", | ||
"description": "Service to serve Targetprocess frontend assets.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -42,6 +42,3 @@ const express = require('express'); | ||
function applyServiceWorkerHeader(assetsPath, res) { | ||
if (assetsPath.endsWith('serviceWorker.js')) { | ||
res.set('Service-Worker-Allowed', '/'); | ||
return; | ||
} | ||
res.set('Service-Worker-Allowed', '/'); | ||
} | ||
@@ -48,0 +45,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
14270
308