Skip to content

Avoid 404 error after maintenance mode is disabled#2448

Open
Didayolo wants to merge 1 commit into
developfrom
maintenance-mode
Open

Avoid 404 error after maintenance mode is disabled#2448
Didayolo wants to merge 1 commit into
developfrom
maintenance-mode

Conversation

@Didayolo

Copy link
Copy Markdown
Member

Description

After removing the maintenance mode, refreshing the maintenance page returns a 404 error on the page maintenance.html.

With this change, the refresh redirects to the home page.

A checklist for hand testing

  • touch maintenance_mode/maintenance.on
  • Refresh and check that the platform is replaced by the maintenance page
  • rm maintenance_mode/maintenance.on
  • Refresh and check that you get redirected to the homepage

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

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.

1 participant