Update hub bundle and add proxy rule to htaccess
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
e57bca31ad
commit
bde5b9577b
|
@ -82,11 +82,11 @@ const recommended = {
|
||||||
spreed: {
|
spreed: {
|
||||||
description: t('core', 'Chatting, video calls, screensharing, online meetings and web conferencing – in your browser and with mobile apps.'),
|
description: t('core', 'Chatting, video calls, screensharing, online meetings and web conferencing – in your browser and with mobile apps.'),
|
||||||
},
|
},
|
||||||
onlyoffice: {
|
richdocuments: {
|
||||||
description: t('core', 'Collaboratively edit office documents.'),
|
description: t('core', 'Collaboratively edit office documents.'),
|
||||||
},
|
},
|
||||||
documentserver_community: {
|
richdocumentscode: {
|
||||||
description: t('core', 'Local document editing back-end used by the OnlyOffice app.'),
|
description: t('core', 'Local document editing back-end used by the Collabora Online app.'),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
const recommendedIds = Object.keys(recommended)
|
const recommendedIds = Object.keys(recommended)
|
||||||
|
|
|
@ -37,8 +37,8 @@ class HubBundle extends Bundle {
|
||||||
'contacts',
|
'contacts',
|
||||||
'calendar',
|
'calendar',
|
||||||
'mail',
|
'mail',
|
||||||
'documentserver_community',
|
'richdocumentscode',
|
||||||
'onlyoffice',
|
'richdocuments',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -543,6 +543,7 @@ class Setup {
|
||||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs-provider/";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs-provider/";
|
||||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocm-provider/";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocm-provider/";
|
||||||
$content .= "\n RewriteCond %{REQUEST_URI} !^/\\.well-known/(acme-challenge|pki-validation)/.*";
|
$content .= "\n RewriteCond %{REQUEST_URI} !^/\\.well-known/(acme-challenge|pki-validation)/.*";
|
||||||
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/richdocumentscode/proxy.php$";
|
||||||
$content .= "\n RewriteRule . index.php [PT,E=PATH_INFO:$1]";
|
$content .= "\n RewriteRule . index.php [PT,E=PATH_INFO:$1]";
|
||||||
$content .= "\n RewriteBase " . $rewriteBase;
|
$content .= "\n RewriteBase " . $rewriteBase;
|
||||||
$content .= "\n <IfModule mod_env.c>";
|
$content .= "\n <IfModule mod_env.c>";
|
||||||
|
|
Loading…
Reference in New Issue