njzjz / gdriveupload

Transfer files from China
4 stars 1 forks source link

请问如何在在~/.bashrc中配置三个变量呢 #2

Open yue899889 opened 4 years ago

yue899889 commented 4 years ago

请问如何 在~/.bashrc中配置GDRIVEUPLOAD_WEBSITE、GDRIVEUPLOAD_USERNAME、GDRIVEUPLOAD_PASSWORD三个环境变量呢?我的操作系统是mac os x。谢谢!

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.94. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

njzjz commented 4 years ago

GDRIVEUPLOAD_WEBSITE是GDIndex的网址,例如https://example.com/ 剩下两个是GDIndex的用户名和密码

Example Domain
njzjz commented 4 years ago
export GDRIVEUPLOAD_WEBSITE=https://example.com/
yue899889 commented 4 years ago

Update: 所以网址是client_id 以com为结尾的那一串对吗? ---------分割线 输入了这个网址报错了 https://gdindex-code-builder.maple3142.net/

njzjz commented 4 years ago

网址是你把gdindex部署在cloudflare workers上的域名,一般来说是https://example.user.workers.dev/

522 Origin Connection Time-out
yue899889 commented 3 years ago

网址是你把gdindex部署在cloudflare workers上的域名,一般来说是https://example.user.workers.dev/

522 Origin Connection Time-out

I know where I missed it. After setting up in Cloudflare workers, I should click on save and deploy

522 Origin Connection Time-out