@antora/redirect-producer
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -125,3 +125,3 @@ 'use strict' | ||
if (file.pub.splat) { | ||
return `location ^~ ${fromUrl}/ { rewrite ^${regexpEscape(fromUrl)}/(.*)$ ${regexpEscape(toUrl)}/$1 redirect; }` | ||
return `location ^~ ${fromUrl}/ { rewrite ^${regexpEscape(fromUrl)}/(.*)$ ${toUrl}/$1 redirect; }` | ||
} else { | ||
@@ -128,0 +128,0 @@ return `location = ${fromUrl} { return 301 ${toUrl}; }` |
{ | ||
"name": "@antora/redirect-producer", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Produces redirects (HTTP redirections) for pages in an Antora site.", | ||
@@ -37,3 +37,3 @@ "license": "MPL-2.0", | ||
], | ||
"gitHead": "63554bf217f1d8deb2276ecd2a8d9c37ee8b460d" | ||
"gitHead": "e8e6f6ba33b1ab3f796907b5a256893a64844cd1" | ||
} |
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
26225