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

feature: redirects #302

Merged
merged 2 commits into from
Jul 15, 2021
Merged

feature: redirects #302

merged 2 commits into from
Jul 15, 2021

Conversation

lordlabuckdas
Copy link
Contributor

Major changes

Pages can now redirect, similar to the actual website.

meta.json structure:

{
    "/":
        {
            "redirect": "/new/home/"
        },
    "/new/home/":
        {
            "hash": "fb4b89f45c474f455a089130db94b00a",
            "headers": [{"Content-Type": "text/html"}]
        }
}

Minor changes

  • Replaced counter with len(visited_urls)
  • Transfer-Encoding header has been added to the ignore list

bin/clone Outdated Show resolved Hide resolved
@afeena afeena requested a review from mzfr July 14, 2021 18:16
@mzfr
Copy link
Collaborator

mzfr commented Jul 15, 2021

@afeena The changes look good to me. If @lordlabuckdas isn't adding anything else to this PR then I think we can merge this.

@afeena afeena merged commit c917c4b into mushorg:develop Jul 15, 2021
This pull request was closed.
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.

3 participants