Browse Source
Herein, we do two things: 1- implement a custom handler for the virtual filesystem that, rather than returning a simple (and ugly) 404 page, redirects the client back to the root URL with the `customUrl` query parameter filled out with the value of the request path. 2- In home.js, if the `customUrl` param is filled out, automatically select the `custom` state setting, and pre-fill out the CustomID input field with the value of that param. In short, the server will never again return a 404 error, but instead will gracefully prompt the user to fill in the missing link.dependabot/npm_and_yarn/web/prismjs-1.21.0
committed by
Max Schmitt
3 changed files with 86 additions and 20 deletions
Loading…
Reference in new issue