apostrophe-redirects
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -16,2 +16,3 @@ var _ = require('lodash'); | ||
seo: false, // Disables apostrophe-seo for redirects | ||
sitemap: false, // Disables apostrophe-site-map for redirects | ||
addFields: [ | ||
@@ -18,0 +19,0 @@ { |
{ | ||
"name": "apostrophe-redirects", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Allows admins to create redirects within an Apostrophe site", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -36,3 +36,3 @@ This module allows admins to add redirects from one URL to another within an [Apostrophe site](http://apostrophecms.org/). | ||
// Other modules, then... | ||
'apostrophe-redirects': { | ||
'apostrophe-redirects': { | ||
statusCode: 301 | ||
@@ -56,2 +56,4 @@ } | ||
2.1.0 Disables `apostrophe-site-map` for redirects to prevent more superfluous UI tabs. | ||
2.0.0: Implemented `statusCode` option and user-editable `statusCode` field allowing the user to choose a permanent or temporary redirect. For bc the default is still `302`. If the `statusCode` option is set to `301` instead, permanent redirects will be the default for *new* redirects. Existing redirects may be manually switched to `301` if desired. | ||
@@ -58,0 +60,0 @@ |
8448
155
66