diff options
author | Robin Appelman <robin@icewind.nl> | 2019-11-28 17:29:46 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-11-28 17:49:02 +0300 |
commit | 4d45bd38d7ea9dcffa084e9f5e7fcb7d0cfbb6f7 (patch) | |
tree | e89a79d00bfdd82b2978aa8e50f9fb7ed3107d8a /appinfo | |
parent | 2e4961ad81d78eb27d243a61398151293ee9ef9d (diff) |
Serve static files without going trough php where possible
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 3142d6a..9ff6322 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -18,11 +18,11 @@ return [ ['name' => 'Convert#convert', 'url' => '/ConvertService.ashx', 'verb' => 'POST'], - ['name' => 'Static#webApps', 'url' => '/{version}/web-apps/{path}', 'verb' => 'GET', 'requirements' => ['path' => '.+']], ['name' => 'Static#webApps', 'url' => '/web-apps/{path}', 'verb' => 'GET', 'requirements' => ['path' => '.+']], - ['name' => 'Static#sdkJS', 'url' => '/{version}/sdkjs/{path}', 'verb' => 'GET', 'requirements' => ['path' => '.+']], ['name' => 'Static#sdkJS', 'url' => '/sdkjs/{path}', 'verb' => 'GET', 'requirements' => ['path' => '.+']], ['name' => 'Static#font', 'url' => '/fonts/{fontId}', 'verb' => 'GET'], ['name' => 'Static#pluginsJSON', 'url' => '/plugins.json', 'verb' => 'GET'], + ['name' => 'Static#pluginsJSON', 'url' => '/3rdparty/onlyoffice/documentserver/plugins.json', 'verb' => 'GET'], + ['name' => 'Static#thirdparty', 'url' => '/3rdparty/onlyoffice/documentserver/{path}', 'verb' => 'GET', 'requirements' => ['path' => '.+']], ] ]; |