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

[Request] 复制生成的 URL 时,为 URL 添加 https:// #28

Open
Sakaizd opened this issue Feb 13, 2022 · 5 comments
Open

[Request] 复制生成的 URL 时,为 URL 添加 https:// #28

Sakaizd opened this issue Feb 13, 2022 · 5 comments

Comments

@Sakaizd
Copy link

Sakaizd commented Feb 13, 2022

我改了下main.js, 复制的时候会加上 https://
实现

@menthan01
Copy link

老哥有完整代码吗,直接复制部署到cf worker报错

@raddyyt
Copy link

raddyyt commented May 12, 2022

老哥有完整代码吗,直接复制部署到cf worker报错

他这个是main.js的代码,不是worker的代码,你自己不会改的话就用他的吧 https://github.com/Sakaizd/Url-Shorten-Worker

@Sakaizd
Copy link
Author

Sakaizd commented May 16, 2022

老哥有完整代码吗,直接复制部署到cf worker报错

部署用这个
https://github.com/Sakaizd/Url-Shorten-Worker/blob/main/index.js

@menthan01
Copy link

老哥有完整代码吗,直接复制部署到cf worker报错

他这个是main.js的代码,不是worker的代码,你自己不会改的话就用他的吧 https://github.com/Sakaizd/Url-Shorten-Worker

谢谢

@crazypeace
Copy link

我改了下main.js, 复制的时候会加上 https://实现

我觉得这个修改很好,你可以提 pull request 啊,作者可以把你的代码合并进来。

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

No branches or pull requests

4 participants