diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-15 21:18:32 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-16 10:03:21 +0100 |
commit | c77d7d6e794247f0fc7991d1d3517bd6c6fbe7a4 (patch) | |
tree | 4a44d689f994eddc0473696e141c04c0d02ac74b /lib/private/Share | |
parent | b58f3e75839669d5b0bf3c3b2f8ee950d8accab1 (diff) | |
download | nextcloud-server-c77d7d6e794247f0fc7991d1d3517bd6c6fbe7a4.tar.gz nextcloud-server-c77d7d6e794247f0fc7991d1d3517bd6c6fbe7a4.zip |
Move merged-share-backend to webpack
For #13608
Since we have webpack anyway it make sense to let webpack do the
bundling instead of ourselfs. This leads to minified code (so less
transfer). And the webserver can just handle the request.
As a bonus we get a map file so debugging is easier than with our
JSCombiner stuff.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Share')
-rw-r--r-- | lib/private/Share/Share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php index 76a6a1baeca..e96079a8d68 100644 --- a/lib/private/Share/Share.php +++ b/lib/private/Share/Share.php @@ -85,7 +85,7 @@ class Share extends Constants { 'supportedFileExtensions' => $supportedFileExtensions ); if(count(self::$backendTypes) === 1) { - Util::addScript('core', 'merged-share-backend'); + Util::addScript('core', 'dist/share_backend'); } return true; } |