feature: router aliases

This commit is contained in:
slawkens
2023-02-06 20:50:50 +01:00
parent 513ca3830b
commit fb17d2e060
3 changed files with 25 additions and 19 deletions

View File

@@ -30,7 +30,7 @@
},
"routes": {
"First Route": {
"pattern": "/YourAwesomePage",
"pattern": "/YourAwesomePage/{name:string}/{page:int}",
"file": "plugins/your-plugin/your-awesome-page.php",
"method": "GET",
"priority": "130"