#136 Added environment variable APP_ROOT_PATH to expose the webapp behind a reverse proxy using subfolder. Minor changes to html pages to remove absolute path for some resources
This commit is contained in:
parent
7d90ecf91f
commit
f9aacb4c66
3 changed files with 14 additions and 13 deletions
|
@ -17,6 +17,7 @@ server.error.include-exception=true
|
|||
server.error.include-message=always
|
||||
|
||||
server.servlet.session.tracking-modes=cookie
|
||||
server.servlet.context-path=${APP_ROOT_PATH:/}
|
||||
|
||||
spring.devtools.restart.enabled=true
|
||||
spring.devtools.livereload.enabled=true
|
||||
|
|
|
@ -304,19 +304,19 @@ function compareVersions(version1, version2) {
|
|||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="languageDropdown">
|
||||
<a class="dropdown-item lang_dropdown-item" href="" data-language-code="en_GB">
|
||||
<img src="/images/flags/gb.svg" alt="icon" width="20" height="15"> English
|
||||
<img src="images/flags/gb.svg" alt="icon" width="20" height="15"> English
|
||||
</a>
|
||||
<a class="dropdown-item lang_dropdown-item" href="" data-language-code="ar_AR">
|
||||
<img src="/images/flags/sa.svg" alt="icon" width="20" height="15"> العربية
|
||||
<img src="images/flags/sa.svg" alt="icon" width="20" height="15"> العربية
|
||||
</a>
|
||||
<a class="dropdown-item lang_dropdown-item" href="" data-language-code="de_DE">
|
||||
<img src="/images/flags/de.svg" alt="icon" width="20" height="15"> Deutsch
|
||||
<img src="images/flags/de.svg" alt="icon" width="20" height="15"> Deutsch
|
||||
</a>
|
||||
<a class="dropdown-item lang_dropdown-item" href="" data-language-code="fr_FR">
|
||||
<img src="/images/flags/fr.svg" alt="icon" width="20" height="15"> Français
|
||||
<img src="images/flags/fr.svg" alt="icon" width="20" height="15"> Français
|
||||
</a>
|
||||
<a class="dropdown-item lang_dropdown-item" href="" data-language-code="es_ES">
|
||||
<img src="/images/flags/es.svg" alt="icon" width="20" height="15"> Español
|
||||
<img src="images/flags/es.svg" alt="icon" width="20" height="15"> Español
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
@ -324,7 +324,7 @@ function compareVersions(version1, version2) {
|
|||
<li class="nav-item">
|
||||
<!-- Settings Button -->
|
||||
<a href="#" class="nav-link" data-toggle="modal" data-target="#settingsModal">
|
||||
<img class="navbar-icon" src="/images/gear.svg" alt="icon" width="24" height="24">
|
||||
<img class="navbar-icon" src="images/gear.svg" alt="icon" width="24" height="24">
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
|
|
@ -60,11 +60,11 @@
|
|||
<div id="drag-container"></div>
|
||||
|
||||
<script type="module">
|
||||
import PdfContainer from '/js/multitool/PdfContainer.js';
|
||||
import DragDropManager from "/js/multitool/DragDropManager.js";
|
||||
import scrollDivHorizontally from "/js/multitool/horizontalScroll.js";
|
||||
import ImageHighlighter from "/js/multitool/ImageHighlighter.js";
|
||||
import PdfActionsManager from '/js/multitool/PdfActionsManager.js';
|
||||
import PdfContainer from './js/multitool/PdfContainer.js';
|
||||
import DragDropManager from "./js/multitool/DragDropManager.js";
|
||||
import scrollDivHorizontally from "./js/multitool/horizontalScroll.js";
|
||||
import ImageHighlighter from "./js/multitool/ImageHighlighter.js";
|
||||
import PdfActionsManager from './js/multitool/PdfActionsManager.js';
|
||||
|
||||
// enables drag and drop
|
||||
const dragDropManager = new DragDropManager('drag-container', 'pages-container');
|
||||
|
|
Loading…
Reference in a new issue