Hi, I’m trying to change the url from produkt.soap.php to soap.php. I read this Routing | Kirby CMS (getkirby.com) and applied the code as follows with no sucess:
return [
'routes' => [
[
'pattern' => '/url',
'action' => function () {
// do something here
// when the URL matches the pattern above
}
],
[
'pattern' => '/url',
'action' => function () {
// ...
}
]
]
];