Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixos-search
base: ba3fe60808e4
Choose a base ref
...
head repository: NixOS/nixos-search
compare: bae5a92131ef
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 7, 2020

  1. Fix redirect from / to /packages breaking browser back button (#248)

    Previously, navigating to https://search.nixos.org/ would use history.pushState
    to redirect to /packages and add a new entry to the browser history.
    This meant that if you pressed the back button, you would navigate back to /
    which would of course then redirect to /packages again.
    
    Now history.replaceState is used instead of pushState, so the / history entry
    is replaced entirely by a /packages history entry and the back button works.
    bmwalters committed Dec 7, 2020
    1
    Copy the full SHA
    bae5a92 View commit details
    Browse the repository at this point in the history