From f1fd60ccef15cef7bb7f4369ab43500a3da72899 Mon Sep 17 00:00:00 2001
From: HB9HIL
Date: Tue, 22 Jul 2025 15:27:44 +0200
Subject: [PATCH] better use site_url() instead base_url() to include index
page (if set)
---
application/views/api/index.php | 2 +-
application/views/debug/index.php | 2 +-
application/views/interface_assets/footer.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/application/views/api/index.php b/application/views/api/index.php
index 4d9f73728..052561561 100644
--- a/application/views/api/index.php
+++ b/application/views/api/index.php
@@ -16,7 +16,7 @@
=__("More Tools")?>
- = __("API URL"); ?> = __("The API URL for this Wavelog instance is"); ?>: " onClick='copyApiUrl()'>
+ = __("API URL"); ?> = __("The API URL for this Wavelog instance is"); ?>: " onClick='copyApiUrl()'>
= __("Info"); ?> = __("It's good practice to delete a key if you are no longer using the associated application."); ?>
= __("Important"); ?> = __("On Clubstations the API Keys are personal and not shared. Clubstation users can only see their own keys."); ?>
diff --git a/application/views/debug/index.php b/application/views/debug/index.php
index 20fda6ff2..7160e9761 100644
--- a/application/views/debug/index.php
+++ b/application/views/debug/index.php
@@ -43,7 +43,7 @@
| = __("Base URL"); ?> |
- config->item('base_url'); ?> " onclick='copyURL("config->item('base_url'); ?>")'> |
+ " onclick='copyURL("")'> |
| = __("Migration"); ?> |
diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php
index 6bb5fafa1..eb4373719 100644
--- a/application/views/interface_assets/footer.php
+++ b/application/views/interface_assets/footer.php
@@ -352,7 +352,7 @@ function copyApiKey(apiKey) {
function copyApiUrl() {
var apiUrlField = $('#apiUrl');
- navigator.clipboard.writeText("").then(function() {
+ navigator.clipboard.writeText("").then(function() {
});
apiUrlField.addClass('flash-copy')
.delay('1000').queue(function() {