mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
10 lines
403 B
JavaScript
10 lines
403 B
JavaScript
// SPDX-FileCopyrightText: 2025 Nextcloud GmbH <https://nextcloud.com>
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
basePath = document.getElementById("base_path")
|
|
if (basePath) {
|
|
// Remove '/containers' from the end of the path, to get the base path only
|
|
basePath.value = window.location.pathname.slice(0, -11);
|
|
}
|
|
}); |