first commit
This commit is contained in:
13
wp-includes/build/routes/fonts-home/route.js
Normal file
13
wp-includes/build/routes/fonts-home/route.js
Normal file
@@ -0,0 +1,13 @@
|
||||
// routes/fonts-home/route.ts
|
||||
import { redirect } from "@wordpress/route";
|
||||
var route = {
|
||||
beforeLoad: () => {
|
||||
throw redirect({
|
||||
throw: true,
|
||||
to: "/font-list"
|
||||
});
|
||||
}
|
||||
};
|
||||
export {
|
||||
route
|
||||
};
|
||||
1
wp-includes/build/routes/fonts-home/route.min.asset.php
Normal file
1
wp-includes/build/routes/fonts-home/route.min.asset.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array(), 'module_dependencies' => array(array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '63fba8ad1ac5f2b9aba8');
|
||||
1
wp-includes/build/routes/fonts-home/route.min.js
vendored
Normal file
1
wp-includes/build/routes/fonts-home/route.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import{redirect as o}from"@wordpress/route";var r={beforeLoad:()=>{throw o({throw:!0,to:"/font-list"})}};export{r as route};
|
||||
Reference in New Issue
Block a user