aboutsummaryrefslogtreecommitdiff
path: root/ifconfig.php
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cmc.pub>2025-03-11 18:25:56 -0500
committerChristian Cleberg <hello@cmc.pub>2025-03-11 18:25:56 -0500
commit3a3b6791dc55dc9c2670ac1a12bef64785512e8a (patch)
tree88089cc718d5f9b227bf7cde6fed11b3c4848156 /ifconfig.php
parentf384015ca077af895065875233b747a7ed22229f (diff)
downloadifconfig.php-3a3b6791dc55dc9c2670ac1a12bef64785512e8a.tar.gz
ifconfig.php-3a3b6791dc55dc9c2670ac1a12bef64785512e8a.tar.bz2
ifconfig.php-3a3b6791dc55dc9c2670ac1a12bef64785512e8a.zip
move from cleberg.net to cmc.pub
Diffstat (limited to 'ifconfig.php')
-rw-r--r--ifconfig.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/ifconfig.php b/ifconfig.php
index 4010991..826f9eb 100644
--- a/ifconfig.php
+++ b/ifconfig.php
@@ -14,9 +14,9 @@ function loadGeo(string $ipAddress): ?array
}
// Set top-level variables for HTML
-$site_title = 'ip.cleberg.net';
+$site_title = 'ip.cmc.pub';
$site_owner_name = 'Christian Cleberg';
-$site_owner_url = 'https://cleberg.net';
+$site_owner_url = 'https://cmc.pub';
$source_repository = 'https://git.sr.ht/~cmc/ifconfig.php';
// Extract geolocation
@@ -116,11 +116,11 @@ elseif (isset($query) && (($query=="text") || ($query=="all"))) {
echo <<<EOD
<pre><code># Curl Commands:
- curl -L -X GET https://ip.cleberg.net
- curl -L -X GET https://ip.cleberg.net/\?q\=text
- curl -L -X GET https://ip.cleberg.net/\?q\=xml
- curl -L -X GET https://ip.cleberg.net/\?q\=ip
- curl -L -X GET https://ip.cleberg.net/\?q\=ua
+ curl -L -X GET https://ip.cmc.pub
+ curl -L -X GET https://ip.cmc.pub/\?q\=text
+ curl -L -X GET https://ip.cmc.pub/\?q\=xml
+ curl -L -X GET https://ip.cmc.pub/\?q\=ip
+ curl -L -X GET https://ip.cmc.pub/\?q\=ua
</code></pre>
EOD;