Skip to content

Commit

Permalink
add prefixes to ignore them on routing
Browse files Browse the repository at this point in the history
  • Loading branch information
MoamenEltouny committed Aug 15, 2021
1 parent c421f5a commit 736d9d4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/config.php
Expand Up @@ -38,6 +38,18 @@
'force-redirect' => true,


/**
* List of prefixes
* That might be before the locale parameter in the url.
*
* Used with type [sub-directory]
* MUST END WITH /*
*/
'prefixes' => [
'api/*'
],


/**
* ONLY supported locales list.
* You can customize it as you want, but it should be locales codes already exists in Locales List.
Expand Down

0 comments on commit 736d9d4

Please sign in to comment.