Skip to content

Commit 97efd37

Browse files
authored
Merge pull request graphql#715 from acao/rewrite-swapi
remove temporary redirect for swapi-graphql, use netlify 200 rewrite
2 parents 357ddb4 + 7dbba77 commit 97efd37

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

resources/fileWalker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = fileWalker;
1414
var IGNORE_RX =
1515
/^(?:_|\.|(?:node_modules|package\.json|README\.(?:md|markdown))$)/;
1616

17-
var INCLUDE_RX = /^(?:\.nojekyll|\.htaccess)/;
17+
var INCLUDE_RX = /^(?:\.nojekyll|\.htaccess|\_redirects)/;
1818

1919
function fileWalker(dirPath, onVisitFile) {
2020
return new Promise((resolve, reject) => {

site/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/swapi-graphql https://graphql.github.io/swapi-graphql 200

site/swapi-graphql/index.html.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)