Giter Site home page Giter Site logo

Comments (12)

LufsX avatar LufsX commented on August 23, 2024 4

encodeURI 我后面会试一下的,暂时先不对 base 路径进行处理。

测试了一下,encodeURL 没有问题,encodeURIComponent 则复现

encodeURL 的提交,对应站点
encodeURIComponent 的提交,对应站点

看起来用 encodeURL 就没问题了 🤣

from onedrive-cf-index.

LufsX avatar LufsX commented on August 23, 2024 2

这个也理解,不过我很想知道我的问题如何解决。

我也有这个情况,我把 PR #24 Revert 掉就好了

from onedrive-cf-index.

spencerwooo avatar spencerwooo commented on August 23, 2024 1

Should be fixed by reverting PR #24. Thanks @LufsX.

from onedrive-cf-index.

spencerwooo avatar spencerwooo commented on August 23, 2024

确实偶尔会遇到,但我也确实不知道原因在哪,因为刷新一下这个错误有时候就能解决。

from onedrive-cf-index.

Micraow avatar Micraow commented on August 23, 2024

可是,我已经等了30分钟了

from onedrive-cf-index.

Micraow avatar Micraow commented on August 23, 2024

我在想是否是我手误,复制粘贴代码时出了错,但我不能确定 ,config没变。
对了,我已经尝试build publish了两遍了。

from onedrive-cf-index.

Micraow avatar Micraow commented on August 23, 2024

还有,之前的bug还没修好

from onedrive-cf-index.

spencerwooo avatar spencerwooo commented on August 23, 2024

还有,之前的bug还没修好

最近比较忙,我也不是专职维护开源项目的,只能说抱歉了。

from onedrive-cf-index.

Micraow avatar Micraow commented on August 23, 2024

这个也理解,不过我很想知道我的问题如何解决。

from onedrive-cf-index.

simonsmh avatar simonsmh commented on August 23, 2024

@spencerwooo @LufsX 请测试一下如果使用encodeURI替代encodeURIComponent是否可以再次复现此问题?这样config.base中的/就不会被转译了,也许可以解决一部分的问题。还有,报issue最好给一下复现用的config和路径,哪有盲修的。

from onedrive-cf-index.

spencerwooo avatar spencerwooo commented on August 23, 2024

@simonsmh 我在我当前部署的 https://storage.spencerwoo.com 这个域名下的站点之前偶尔也会出现这里提到的问题(就是访问某个路径出现 Resource not found for the segment 'root:'),之后刷新一下又恢复正常。报错信息中出现的问题在于 root 路径未找到,所以我觉得确实可能是 PR #24 中引入的对 base 路径进行 encodeURIComponent 的操作导致的,因此我根据 @LufsX 的建议把这部分恢复为原有实现。

from onedrive-cf-index.

spencerwooo avatar spencerwooo commented on August 23, 2024

encodeURI 我后面会试一下的,暂时先不对 base 路径进行处理。

from onedrive-cf-index.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.