commit | 30f991bf6e36df715093fd7a1c64f77c61c0aa11 | [log] [tgz] |
---|---|---|
author | lishutong <lishutong@google.com> | Wed Jul 28 16:54:09 2021 +0000 |
committer | lishutong <lishutong@google.com> | Wed Jul 28 18:14:35 2021 +0000 |
tree | a8fa523dd72fd12b3374832f1a9de84f5c458415 | |
parent | c4b3dd1aefe2bb549883a56f104eeb469a18bb42 [diff] |
Fix a bug: redirect to homepage for some url. In a single page application, the url sometimes does not correspond to the actual resources on the server. Thus, it might cause 404 when users refresh the page. By redirecting this kind of url back to the homepage, the proper page can be rendered. If the url does not exist, the front end will redirect to a Not Found page. Test: mannual tested. Change-Id: I36beff436a450ae7fcabe9172df9c7cc217d7305