Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for resolution of wild card url to static root url. #14

Merged
merged 5 commits into from
Nov 8, 2022

Conversation

dreamora
Copy link
Collaborator

@dreamora dreamora commented Nov 7, 2022

This implements the "default all dynamic" part of issue #13 through implementation of a wildcard redirect logic for GET requests.

Verified

This commit was signed with the committer’s verified signature.
erikmd Erik Martin-Dorel
@dreamora dreamora requested review from jwloka and peponi November 7, 2022 17:47
jwloka
jwloka previously approved these changes Nov 7, 2022
Comment on lines 115 to 125
expect(res.text).toBe(`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Redirecting</title>
</head>
<body>
<pre>Redirecting to <a href="/unexpected/non-existant/">/unexpected/non-existant/</a></pre>
</body>
</html>
`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toMatchInlineSnapshot ?

@dreamora dreamora merged commit e7930b9 into develop Nov 8, 2022
@dreamora dreamora deleted the dreamora/issue13 branch November 8, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants