qkqpttgf/OneManager-cfworkerskv

更改网站访问路径

server0608 opened this issue · 1 comments

我想将自己在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"网站访问正常。也就是说它只能设置为“/”路径访问吗

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