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