update url

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-03-25 20:54:47 +01:00
parent 34b1820e51
commit f8465f8f00
7 changed files with 12 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ interface Props {
const {
title = "Default Creds",
description = "Open-source database of default credentials for pentesters and researchers. Find factory-set passwords for any device or software.",
ogImage = `${Astro.site ?? "https://default-creds.hadi.diy"}/og.png`
ogImage = `${Astro.site ?? "https://default-creds.hadi.icu"}/og.png`
} = Astro.props;
const myLinks = [
@@ -31,7 +31,7 @@ const myLinks = [
href: "https://github.com/anotherhadi/default-creds/blob/main/src/data",
icon: Shield,
},
{ label: "About me", href: "https://hadi.diy", icon: User },
{ label: "About me", href: "https://hadi.icu", icon: User },
],
},
];

View File

@@ -53,8 +53,8 @@ const SECURITY_HEADERS: Record<string, string> = {
"default-src 'self'",
"img-src 'self' cdn.jsdelivr.net data:",
"style-src 'self' 'unsafe-inline'",
"script-src 'self' 'unsafe-inline' static.cloudflareinsights.com umami.hadi.diy",
"connect-src 'self' cloudflareinsights.com umami.hadi.diy",
"script-src 'self' 'unsafe-inline' static.cloudflareinsights.com umami.hadi.icu",
"connect-src 'self' cloudflareinsights.com umami.hadi.icu",
"frame-ancestors 'none'",
].join("; "),
};

View File

@@ -96,7 +96,7 @@ import { Terminal, Settings, Database, Info, Code } from "lucide-svelte";
class="mockup-code bg-base-300 border border-white/5 shadow-xl group"
>
<pre
data-prefix="$"><code>curl -X GET "https://default-creds.hadi.diy/api/search?q=cisco"</code></pre>
data-prefix="$"><code>curl -X GET "https://default-creds.hadi.icu/api/search?q=cisco"</code></pre>
<pre
data-prefix=">"
class="text-success"><code>HTTP/1.1 200 OK</code></pre>
@@ -109,7 +109,7 @@ import { Terminal, Settings, Database, Info, Code } from "lucide-svelte";
</p>
<div class="mockup-code bg-base-300 border border-white/5 shadow-xl">
<pre
data-prefix="$"><code>curl -G "https://default-creds.hadi.diy/api/search" \
data-prefix="$"><code>curl -G "https://default-creds.hadi.icu/api/search" \
-d "q=cisco" \
-d "page=2" \
-d "size=5"</code></pre>

View File

@@ -162,7 +162,7 @@ async function trackSearchServerSide(query: string, results: number) {
type: "event",
payload: {
website: umamiId,
hostname: "default-creds.hadi.diy",
hostname: "default-creds.hadi.icu",
url: "/api/search",
name: "search",
data: {
@@ -185,7 +185,7 @@ async function trackSearchServerSide(query: string, results: number) {
type: "event",
payload: {
website: umamiId,
hostname: "default-creds.hadi.diy",
hostname: "default-creds.hadi.icu",
url: "/api/search",
name: "search_no_results",
data: {

View File

@@ -44,7 +44,7 @@ import Layout from "../layouts/Layout.astro";
<h2>Data storage</h2>
<p>
All analytics data is stored on our own self-hosted server. No data is sent to third-party
analytics providers. The Umami instance is hosted at <code>umami.hadi.diy</code>.
analytics providers. The Umami instance is hosted at <code>umami.hadi.icu</code>.
</p>
<h2>Your rights</h2>