mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Attempt 2 – reprioritize header conditionals
This commit is contained in:
parent
8eaf3945f0
commit
1ee9358be4
1 changed files with 1 additions and 1 deletions
|
@ -94,8 +94,8 @@ var getConditionNameForRoute = function (route, type) {
|
|||
};
|
||||
|
||||
var getHeaderNameForRoute = function (route) {
|
||||
if (route.name) return 'rewrites/' + route.name;
|
||||
if (route.redirect) return 'redirects/' + route.pattern;
|
||||
if (route.name) return 'rewrites/' + route.name;
|
||||
};
|
||||
|
||||
var getResponseNameForRoute = function (route) {
|
||||
|
|
Loading…
Reference in a new issue