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

更改网站访问路径 #9

Open
server0608 opened this issue Dec 26, 2021 · 1 comment
Open

更改网站访问路径 #9

server0608 opened this issue Dec 26, 2021 · 1 comment

Comments

@server0608
Copy link

我想将自己在cf上的域名绑定到worker上,于是设置了路由“xxx.com/clouddrive"然后访问发现报错”Error
返回首页
{"error":{"code":"itemNotFound","message":"The resource could not be found.","innerError":{"date":"2021-12-26T00:18:23","request-id":"cc2e4759-0b1d-4f75-b3fa-25da62feb684","client-request-id":"cc2e4759-0b1d-4f75-b3fa-25da62feb684"}}}“
后来把路由改成”xxx.com"网站访问正常。也就是说它只能设置为“/”路径访问吗

@qkqpttgf
Copy link
Owner

还没研究过怎么自动判断,所以可能不能自动化了。
你修改117行应该就行了,base path(基础路径)。

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

2 participants