CoreFiles by mySites.guru
route.js13 lines, 209 bytes, from wordpress-7.0.2.zip
Raw History Compare with 7.0.1
md5
0b3114c9e19357730ccefaab165eee64
sha1
fb1773225ead3560d42e7d24b58167dfe755c482
sha256
5c26508f17fe8fa3e91195e146164dff2467d7d3c72d22da864c6ea1e49d6085
// routes/fonts-home/route.ts
import { redirect } from "@wordpress/route";
var route = {
  beforeLoad: () => {
    throw redirect({
      throw: true,
      to: "/font-list"
    });
  }
};
export {
  route
};

The same content is in 45 releases, WordPress 7.0-beta1 to 7.2-RC3. See them all, or every version of this file.