Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 希望添加一个变量使得能够设置默认的图床服务 #117

Open
big-tooth opened this issue Dec 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@big-tooth
Copy link

背景

image

如图上所示,默认的图床路径是TG_Channel,但是我并没有配置TG的任何选项,而是配置了Cloudflare R2的存储

功能描述

因此希望作者能够提供一个参数变量,如“PICBED_INDEX”索引值来设置默认的图床服务

解决方案

功能描述

替代方案

附加信息

@big-tooth big-tooth added the enhancement New feature or request label Dec 1, 2024
@yunshuangqwq
Copy link

yunshuangqwq commented Dec 3, 2024

你可以直接改代码在src/app/page.js这个文件的34行(可能与你的有差距),这个值不是昵称哈是在507(可能有差距)行的东西TG_Channel的是tgchannel你可以照着这个找找你要选什么,按照你说的你是配置了R2那么就应该填r2也就是
const [selectedOption, setSelectedOption] = useState('r2'); // 初始选择第一个选项
你自己看着改不能复制粘贴哈以防不一样!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants