-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More redirect and rewrite fixes (#885)
* serveRedirect: Fix a condition check * Add test for 30x redirects * Improve CRA tests * Fix file shadowing * Add tests for shadowing and 404 * Fix 404 redirects behavior * Add tests for 404 redirect rules * Update rules-proxy.test.js * Remove a redudndant test * Make redirect test more robust * Formatting * Remove unused imports * File ending fixes for Windows * Use request.get for headers * Functions: Make sure body is undefined when not provided * Syntax formatting * Add tests for echo functions * Add echo function * Tests: Add CRA function tests with rewrites * Test Utils: Improve random port * Dev: Fallback to random port for functions server
- Loading branch information
1 parent
19c2a7b
commit 9e3eeb6
Showing
22 changed files
with
346 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.