Update Footer.vue

This commit is contained in:
lhkuan 2024-05-06 15:36:54 +08:00 committed by GitHub
parent 3496797f8c
commit 02b02ce83a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ const siteIcp = ref(import.meta.env.VITE_SITE_ICP);
const siteAnthor = ref(import.meta.env.VITE_SITE_ANTHOR); const siteAnthor = ref(import.meta.env.VITE_SITE_ANTHOR);
const siteUrl = computed(() => { const siteUrl = computed(() => {
const url = import.meta.env.VITE_SITE_URL; const url = import.meta.env.VITE_SITE_URL;
if (!url) return "https://www.imsyy.top"; if (!url) return "https://www.lidu.ltd";
// //
if (!url.startsWith("http://") && !url.startsWith("https://")) { if (!url.startsWith("http://") && !url.startsWith("https://")) {
return "//" + url; return "//" + url;