mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 14:03:33 +09:00
## Description fixes #3224 Allow users to set `/` in new-path. So, from any old-path users can redirect to the home page. ## Steps for reproduction 1. Go to Project Settings -> redirects. 2. Enter a `old-path` and set the `/` in the new path. 3. Deploy the project 4. And when we use the `old-path` in the URL, the project should take the route to the home page. ## Code Review - [ ] hi @kof, I need you to do - detailed review (read every line) - test it on preview ## Before requesting a review - [x] made a self-review - [x] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [x] tested locally and on preview environment (preview dev login: 5de6)