The templates/collabora-online-full.html.twig template contains hard-coded paths in the urls to js and css files.
<head>
<script src="/modules/contrib/collabora_online/js/cool.js"></script>
<link href="/modules/contrib/collabora_online/css/cool.css" rel="stylesheet" />
</head>
This assumes that the module is in /modules/contrib/collabora_online, which is not guaranteed.
It also assumes that the base url is just /, which means Drupal is not installed in a subdirectory.
Instead, these urls should be composed from variables passed into the template.
The
templates/collabora-online-full.html.twigtemplate contains hard-coded paths in the urls to js and css files.This assumes that the module is in
/modules/contrib/collabora_online, which is not guaranteed.It also assumes that the base url is just
/, which means Drupal is not installed in a subdirectory.Instead, these urls should be composed from variables passed into the template.