Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6302b42

Browse files
committed
fix: replace static files image domain
1 parenta6cf2bb commit6302b42

File tree

23 files changed

+114
-114
lines changed

23 files changed

+114
-114
lines changed

‎components/kun/milkdown/plugins/components/video/videoPlugin.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const videoInputRule = $inputRule(
8888
(ctx)=>
8989
newInputRule(
9090
// Matches format: {{kun-video="video url"}}
91-
// eg: {{kun-video="https://img.touchgalstatic.org/2023/05/f15179024920231109233759.mp4"}}
91+
// eg: {{kun-video="https://s.touchgaloss.cfd/2023/05/f15179024920231109233759.mp4"}}
9292
/{{kun-video="(?<src>[^"]+)?"?\}}/,
9393
(state,match,start,end)=>{
9494
const[matched,src='']=match

‎components/redirect/Container.tsx‎

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
'use client'
2-
3-
import{Suspense}from'react'
4-
import{Alert,Image,Link}from'@heroui/react'
5-
import{KunRedirectCard}from'./KunRedirectCard'
6-
import{kunMoyuMoe}from'~/config/moyu-moe'
7-
8-
exportconstKunRedirectContainer=()=>{
9-
return(
10-
<divclassName="container mx-auto my-8">
11-
<divclassName="flex flex-col items-center justify-center gap-8">
12-
<divclassName="text-center">
13-
<h1className="mb-2 text-3xl font-medium">外部链接跳转</h1>
14-
<pclassName="text-default-500">在您继续前往之前, 请确认下方的链接</p>
15-
</div>
16-
17-
<Suspense>
18-
<KunRedirectCard/>
19-
</Suspense>
20-
21-
<divclassName="max-w-2xl">
22-
<Alert
23-
description="下载如果出现问题请至公告中的常见问题文章寻找解决方法, 如果下载缓慢可以试试下方广告中的加速器"
24-
title="公告"
25-
color="secondary"
26-
variant="faded"
27-
/>
28-
</div>
29-
30-
<divclassName="w-full max-w-2xl rounded-large">
31-
<LinkisExternalhref="https://www.sailingnet.pro/">
32-
<Image
33-
alt={kunMoyuMoe.title}
34-
src="https://img.touchgalstatic.org/2024/09/6e194add9120240905110255.webp"
35-
/>
36-
</Link>
37-
</div>
38-
</div>
39-
</div>
40-
)
41-
}
1+
'use client'
2+
3+
import{Suspense}from'react'
4+
import{Alert,Image,Link}from'@heroui/react'
5+
import{KunRedirectCard}from'./KunRedirectCard'
6+
import{kunMoyuMoe}from'~/config/moyu-moe'
7+
8+
exportconstKunRedirectContainer=()=>{
9+
return(
10+
<divclassName="container mx-auto my-8">
11+
<divclassName="flex flex-col items-center justify-center gap-8">
12+
<divclassName="text-center">
13+
<h1className="mb-2 text-3xl font-medium">外部链接跳转</h1>
14+
<pclassName="text-default-500">在您继续前往之前, 请确认下方的链接</p>
15+
</div>
16+
17+
<Suspense>
18+
<KunRedirectCard/>
19+
</Suspense>
20+
21+
<divclassName="max-w-2xl">
22+
<Alert
23+
description="下载如果出现问题请至公告中的常见问题文章寻找解决方法, 如果下载缓慢可以试试下方广告中的加速器"
24+
title="公告"
25+
color="secondary"
26+
variant="faded"
27+
/>
28+
</div>
29+
30+
<divclassName="w-full max-w-2xl rounded-large">
31+
<LinkisExternalhref="https://www.sailingnet.pro/">
32+
<Image
33+
alt={kunMoyuMoe.title}
34+
src="https://s.touchgaloss.cfd/2024/09/6e194add9120240905110255.webp"
35+
/>
36+
</Link>
37+
</div>
38+
</div>
39+
</div>
40+
)
41+
}

‎config/friend.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"friends": [
33
{
44
"name":"TouchGal",
5-
"avatar":"https://img.touchgalstatic.org/2024/06/8b9411844520240614204452.webp",
5+
"avatar":"https://s.touchgaloss.cfd/2024/06/8b9411844520240614204452.webp",
66
"label":"TouchGal 是一个一站式 Galgame 文化社区。提供Galgame 论坛、Galgame 下载等服务。承诺永久免费, 高质量。为Galgame 爱好者提供一片净土!",
77
"link":"https://www.touchgal.us"
88
},
@@ -26,7 +26,7 @@
2626
},
2727
{
2828
"name":"Mikiacg",
29-
"avatar":"https://img.touchgalstatic.org/2024/06/33a35b632820240624201041.jpg",
29+
"avatar":"https://s.touchgaloss.cfd/2024/06/33a35b632820240624201041.jpg",
3030
"label":"免费优质精品游戏库",
3131
"link":"https://www.mikiacg.com"
3232
},
@@ -56,7 +56,7 @@
5656
},
5757
{
5858
"name":"绯玉丸の小仓库",
59-
"avatar":"https://img.touchgalstatic.org/202410182231668.avif",
59+
"avatar":"https://s.touchgaloss.cfd/202410182231668.avif",
6060
"label":"绯玉丸の小仓库专注收录各类网络黑科技~",
6161
"link":"http://feiyuwanovo.ysepan.com"
6262
},
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"name":"次元城动画",
71-
"avatar":"https://img.touchgalstatic.org/uploads/20250209211123235.avif",
71+
"avatar":"https://s.touchgaloss.cfd/uploads/20250209211123235.avif",
7272
"label":"次元城动画是一个一站式追番平台,在为日漫爱好者提供业内首屈一指的超高画质体验的同时,我们还拥有海量的番剧资源,更有完善的追番社交环境!",
7373
"link":"https://www.cycity.pro"
7474
},

‎config/moyu-moe.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const KUN_SITE_NAME = 'TouchGal'
55
constKUN_SITE_MENTION='@touchgal'
66
constKUN_SITE_TITLE='TouchGal - 一站式Galgame文化社区!'
77
constKUN_SITE_IMAGE=
8-
'https://img.touchgalstatic.org/uploads/20241217174250074.avif'
8+
'https://s.touchgaloss.cfd/uploads/20241217174250074.avif'
99
constKUN_SITE_DESCRIPTION=
1010
'TouchGal 是一个一站式 Galgame 文化社区。提供Galgame 论坛、Galgame 下载等服务。承诺永久免费, 高质量。为Galgame 爱好者提供一片净土!'
1111
constKUN_SITE_URL='https://www.touchgal.us'
@@ -68,7 +68,7 @@ export const kunMoyuMoe: KunSiteConfig = {
6868
},
6969
domain:{
7070
main:KUN_SITE_URL,
71-
imageBed:'https://img.touchgalstatic.org',
71+
imageBed:'https://s.touchgaloss.cfd',
7272
storage:KUN_SITE_URL,
7373
kungal:KUN_SITE_URL,
7474
telegram_group:KUN_SITE_TELEGRAM_GROUP,

‎migration/backup/_fixPatchBanner.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const fixPatchBanner = async () => {
1313
awaitprisma.patch.update({
1414
where:{id:p.id},
1515
data:{
16-
banner:`https://img.touchgalstatic.org/patch/${p.id}/banner/banner.avif`
16+
banner:`https://s.touchgaloss.cfd/patch/${p.id}/banner/banner.avif`
1717
}
1818
})
1919
}

‎next.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const nextConfig: NextConfig = {
3434
},
3535
{
3636
protocol:'https',
37-
hostname:'img.touchgalstatic.org',
37+
hostname:'s.touchgaloss.cfd',
3838
port:'',
3939
pathname:'/**'
4040
}

‎posts/notice/common.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title:网站说明和常见问题
3-
banner:'https://img.touchgalstatic.org/uploads/43c0efcc83c5530e91354c12f4bd7736.avif'
3+
banner:'https://s.touchgaloss.cfd/uploads/43c0efcc83c5530e91354c12f4bd7736.avif'
44
description:'本文为GalGame玩家和本站用户提供了常见问题解答,涵盖了游戏下载、解压、运行、转区、模拟器使用等方面。文章详细介绍了如何获取最新网址、防止失联、解决游戏打不开的问题、运行PE游戏的方法,以及本站资源下载和访问问题的解决方案。此外,还提供了相关工具和教程的链接,帮助用户更好地享受GalGame。如有未覆盖的问题,欢迎提供反馈'
55
date:2025-2-6
66
authorUid:1
77
authorName:'Palentum'
8-
authorAvatar:'https://img.touchgalstatic.org/user/avatar/user_1/avatar-mini.avif'
8+
authorAvatar:'https://s.touchgaloss.cfd/user/avatar/user_1/avatar-mini.avif'
99
authorHomepage:'https://www.arnebiae.com'
1010
pin:true
1111
---

‎posts/notice/domainio.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title:域名更换通知
3-
banner:'https://img.touchgalstatic.org/uploads/20250630225117118.avif'
3+
banner:'https://s.touchgaloss.cfd/uploads/20250630225117118.avif'
44
description:'由于不可抗力,TouchGal网站已更换新域名为 www.touchgal.us,并希望用户能帮忙互相转告和宣传。'
55
date:2025-6-30
66
authorUid:1
77
authorName:'Palentum'
8-
authorAvatar:'https://img.touchgalstatic.org/user/avatar/user_1/avatar-mini.avif'
8+
authorAvatar:'https://s.touchgaloss.cfd/user/avatar/user_1/avatar-mini.avif'
99
authorHomepage:'https://www.arnebiae.com'
1010
pin:false
1111
---

‎posts/notice/donate.mdx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title:捐赠赞助和财务公开
3-
banner:'https://img.touchgalstatic.org/uploads/20250206034927549.avif'
3+
banner:'https://s.touchgaloss.cfd/uploads/20250206034927549.avif'
44
description:'TouchGal是一个自2023年1月10日上线以来,始终坚持免费、高质量原则的Galgame资源与社区网站。网站由@Palentum一人维护,无盈利目的,所有资源免费且无任何变相收费。网站使用高成本的对象存储服务,广告极少,源代码开源。2024年9月10日,网站从次元城动漫独立,所有开销由@Palentum自费支持。网站每月支出包括服务器、CDN和存储费用,收入为零。捐赠款项将用于支付网站运营成本,多余部分将捐赠至慈善组织。捐赠可通过支付宝、微信或加密货币进行。'
55
date:2025-2-5
66
authorUid:1
77
authorName:'Palentum'
8-
authorAvatar:'https://img.touchgalstatic.org/user/avatar/user_1/avatar-mini.avif'
8+
authorAvatar:'https://s.touchgaloss.cfd/user/avatar/user_1/avatar-mini.avif'
99
authorHomepage:'https://www.arnebiae.com'
1010
pin:true
1111
---
@@ -80,16 +80,16 @@ TouchGal 是一个免费的,极低门槛的集资源与补丁下载和社区
8080

8181
T9zHnsii6YfuXqXVpgK5EBitCaxhdvSz8b
8282

83-
![image-20250206033450826](https://img.touchgalstatic.org/uploads/20250206033454234.avif)
83+
![image-20250206033450826](https://s.touchgaloss.cfd/uploads/20250206033454234.avif)
8484

8585
####Polygon链
8686

8787
0xd6b7601cfA6D5987F7580Bca8b4D126A8869CeF4
8888

89-
![image-20250206033800399](https://img.touchgalstatic.org/uploads/20250206033802140.avif)
89+
![image-20250206033800399](https://s.touchgaloss.cfd/uploads/20250206033802140.avif)
9090

9191
####ERC20链
9292

9393
0x852d60C8a7C954495944319c42853587e09B13f2
9494

95-
![image-20250206034052219](https://img.touchgalstatic.org/uploads/20250206034053620.avif)
95+
![image-20250206034052219](https://s.touchgaloss.cfd/uploads/20250206034053620.avif)

‎posts/notice/download.mdx‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title:资源下载相关问题
3-
banner:'https://img.touchgalstatic.org/uploads/f25c66b566c7c0f38c4d465b9a6b757e.avif'
3+
banner:'https://s.touchgaloss.cfd/uploads/f25c66b566c7c0f38c4d465b9a6b757e.avif'
44
description:'本文针对网盘下载常见问题提供了详细解答,指出99.9%的问题源于国内网络环境。下载慢、卡顿或失败时,建议使用多线程下载器(如FDM)、优选IP或更换DNS。避免打包或多选下载,单个文件右键下载更稳定。解压失败可能是网络波动导致,需重新下载或挂代理。解压密码问题可查看游戏备注或更换解压工具。浏览器报警提示可忽略或关闭安全设置,推荐使用其他浏览器或下载器(如IDM)。总之,网络问题是主因,加速器是万能解决方案。'
55
date:2025-1-21
66
authorUid:1
77
authorName:'Palentum'
8-
authorAvatar:'https://img.touchgalstatic.org/user/avatar/user_1/avatar-mini.avif'
8+
authorAvatar:'https://s.touchgaloss.cfd/user/avatar/user_1/avatar-mini.avif'
99
authorHomepage:'https://www.arnebiae.com'
1010
pin:false
1111
---
@@ -24,19 +24,19 @@ pin: false
2424
2525
FDM也下不动可以考虑优选一下IP,在hosts里指定下载地址的域名到优选IP(不教,自己百度搜怎么改)
2626

27-
[![CloudflareSpeedTest](https://img.touchgalstatic.org/uploads/6dde8b441820240611034109-300x150_jpg.avif"GitHub上的优选IP项目")](https://github.com/XIU2/CloudflareSpeedTest)
27+
[![CloudflareSpeedTest](https://s.touchgaloss.cfd/uploads/6dde8b441820240611034109-300x150_jpg.avif"GitHub上的优选IP项目")](https://github.com/XIU2/CloudflareSpeedTest)
2828

2929
优选完还是下不动可以考虑换个网络环境,比如现在用的WiFi换成移动网络,现在用的移动网络就换成WiFi
3030

3131
还不行就开加速器,没有其他解决办法
3232

3333
###下不了?下载链接打不开?
3434

35-
![情况一](https://img.touchgalstatic.org/uploads/c6347cfdc720240611034626_png.avif"超时")
35+
![情况一](https://s.touchgaloss.cfd/uploads/c6347cfdc720240611034626_png.avif"超时")
3636

3737
比如这种
3838

39-
![情况二](https://img.touchgalstatic.org/uploads/2cc8bff68d20240611035015_png.avif"连接被重置")
39+
![情况二](https://s.touchgaloss.cfd/uploads/2cc8bff68d20240611035015_png.avif"连接被重置")
4040

4141
或者这种
4242

@@ -76,29 +76,29 @@ FDM也下不动可以考虑优选一下IP,在hosts里指定下载地址的域
7676

7777
###浏览器提示此网站已被人举报不安全/危险网站?
7878

79-
![提示危险网站](https://img.touchgalstatic.org/uploads/02b97f7e9520240611035857-300x163_png.avif"提示危险网站")
79+
![提示危险网站](https://s.touchgaloss.cfd/uploads/02b97f7e9520240611035857-300x163_png.avif"提示危险网站")
8080

8181
就像这样
8282

8383
**详细信息**,再点**继续访问此不安全站点**就好了,顺便可以再点一下**报告此站点不包含恶意软件威胁**,其他浏览器操作类似,请自行举一反三
8484

85-
![关掉扫描](https://img.touchgalstatic.org/uploads/c92a5c617d20240611040229_png.avif"关掉扫描")
85+
![关掉扫描](https://s.touchgaloss.cfd/uploads/c92a5c617d20240611040229_png.avif"关掉扫描")
8686

8787
或者装个FDM之类的下载器,浏览器会直接把下载发到下载器,也不会报警
8888

8989
###浏览器提示已阻止不安全的下载?
9090

91-
![阻止下载](https://img.touchgalstatic.org/uploads/9879adfc8f20240611040852_png.avif"阻止下载")
91+
![阻止下载](https://s.touchgaloss.cfd/uploads/9879adfc8f20240611040852_png.avif"阻止下载")
9292

9393
比如这样
9494

9595
点击文件右侧三个点的更多设置按钮(鼠标移到上面才会显示)
9696

97-
![点击更多设置按钮](https://img.touchgalstatic.org/uploads/d0c2f04b0820240611041046_png.avif"点击更多设置按钮")
97+
![点击更多设置按钮](https://s.touchgaloss.cfd/uploads/d0c2f04b0820240611041046_png.avif"点击更多设置按钮")
9898

9999
再在弹出菜单里点**保留**就好了
100100

101-
![点击保留按钮](https://img.touchgalstatic.org/uploads/89d15a1b0d20240611041147_png.avif"点击保留按钮")
101+
![点击保留按钮](https://s.touchgaloss.cfd/uploads/89d15a1b0d20240611041147_png.avif"点击保留按钮")
102102

103103
或者装个FDM之类的下载器,浏览器会直接把下载发到下载器,也不会报警
104104

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp