mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Removed PathVersionMiddleware as routes without version are not longer supported
This commit is contained in:
@@ -33,6 +33,7 @@ class ConfigProviderTest extends TestCase
|
||||
['path' => '/foo'],
|
||||
['path' => '/bar'],
|
||||
['path' => '/baz/foo'],
|
||||
['path' => '/health'],
|
||||
],
|
||||
]);
|
||||
|
||||
@@ -42,6 +43,7 @@ class ConfigProviderTest extends TestCase
|
||||
['path' => '/rest/v{version:1|2}/foo'],
|
||||
['path' => '/rest/v{version:1|2}/bar'],
|
||||
['path' => '/rest/v{version:1|2}/baz/foo'],
|
||||
['path' => '/rest/health'],
|
||||
], $config['routes']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user