@antora/redirect-producer
Advanced tools
Comparing version 3.0.0-alpha.1 to 3.0.0-alpha.2
@@ -114,3 +114,3 @@ 'use strict' | ||
if (file.pub.splat) { | ||
return `location ^~ ${fromUrl}/ { rewrite ^${regexpEscape(fromUrl)}/(.*)$ ${regexpEscape(toUrl)}/$1; }` | ||
return `location ^~ ${fromUrl}/ { rewrite ^${regexpEscape(fromUrl)}/(.*)$ ${regexpEscape(toUrl)}/$1 redirect; }` | ||
} else { | ||
@@ -117,0 +117,0 @@ return `location = ${fromUrl} { return 301 ${toUrl}; }` |
{ | ||
"name": "@antora/redirect-producer", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0-alpha.2", | ||
"description": "Produces redirects (HTTP redirections) for pages in an Antora site.", | ||
@@ -18,3 +18,3 @@ "license": "MPL-2.0", | ||
"dependencies": { | ||
"@antora/asciidoc-loader": "3.0.0-alpha.1", | ||
"@antora/asciidoc-loader": "3.0.0-alpha.2", | ||
"vinyl": "~2.2" | ||
@@ -36,3 +36,3 @@ }, | ||
], | ||
"gitHead": "337ff6d2ed11e1f4d0a8ef993ddc8eaac7a73e9f" | ||
"gitHead": "997231474334311f3e5ff55d68534f5ae6e5d7ee" | ||
} |
@@ -15,4 +15,4 @@ # Antora Redirect Producer | ||
Copyright (C) 2017-2020 [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org). | ||
Copyright (C) 2017-present [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org). | ||
Use of this software is granted under the terms of the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) (MPL-2.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
25468
+ Added@antora/asciidoc-loader@3.0.0-alpha.2(transitive)
- Removed@antora/asciidoc-loader@3.0.0-alpha.1(transitive)