Skip to content

Commit

Permalink
Build: Add redirect to fix 404 at http://api.jquery.com/extending-ajax
Browse files Browse the repository at this point in the history
Follows-up 58373d3.
Ref #84.
  • Loading branch information
Krinkle committed Feb 20, 2024
1 parent a9b7114 commit 10291fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ grunt.registerTask( "build", [
"build-xml-full"
]);

grunt.registerTask( "deploy", [ "wordpress-deploy", "deploy-redirects" ] );

};
3 changes: 2 additions & 1 deletion redirects.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"/api/": "/resources/api.xml"
"/api/": "/resources/api.xml",
"/extending-ajax/": "/jQuery.ajax/#extending-ajax"
}

0 comments on commit 10291fe

Please sign in to comment.