fixed default url

This commit is contained in:
Karl Breuer 2025-03-31 17:01:07 +02:00
parent 9043a105c7
commit 1e49d1bd76

View File

@ -18,7 +18,7 @@ class Simple_Tracking_Plugin {
private static $instance = null; private static $instance = null;
// Tracking server URL // Tracking server URL
private $tracking_server_url = 'karlbreuer.com'; private $tracking_server_url = 'tracking1.karlbreuer.com';
/** /**
* Constructor * Constructor
@ -303,7 +303,9 @@ document.addEventListener("DOMContentLoaded", function() {
public function server_url_callback() { public function server_url_callback() {
$value = get_option('simple_tracking_server_url', $this->tracking_server_url); $value = get_option('simple_tracking_server_url', $this->tracking_server_url);
echo '<input type="text" id="simple_tracking_server_url" name="simple_tracking_server_url" value="' . esc_attr($value) . '" class="regular-text">'; echo '<input type="text" id="simple_tracking_server_url" name="simple_tracking_server_url" value="' . esc_attr($value) . '" class="regular-text">';
echo '<p class="description">Enter the tracking server URL without https:// (e.g., karlbreuer.com)</p>'; echo '<p class="description">Enter the tracking server URL without https:// (e.g., tracking1.karlbreuer.com)</p>';
echo '<p class="description">You will find this in your domain screen in the Palantics app</p>';
} }
/** /**