Code Monkey home page Code Monkey logo

Comments (8)

Hansanshi avatar Hansanshi commented on May 22, 2024

我记得我回复过你在这个issue #6

是你配置有问题,我配置的跳转就没问题

你可以试试下边这个我配置的链接,可以正常跳转你的公开笔记

http://pptvector.sanshicloud.cn

from mark-idea.

jxjxjhjh avatar jxjxjhjh commented on May 22, 2024

我用的是caddy1.0版
191954.xyz:80 {
redir https://note.191954.xyz/#/article/191954/2{url}
}
这个方法跳转别的可以
问题是不是出在链接中的 /#/部分,#导致的从这里截断了

from mark-idea.

Hansanshi avatar Hansanshi commented on May 22, 2024

不了解,我用的是nginx,你看下caddy的文档吧

from mark-idea.

jxjxjhjh avatar jxjxjhjh commented on May 22, 2024

收到。
顺便问一下,之前你去编辑器提问大纲固定的问题,开发者说把编辑器高度固定也能有同样的效果,我想想觉的是对的。
下一版本能把编辑器高度固定一下吗?这样就可以保持大纲不会被拉上去了。

from mark-idea.

jxjxjhjh avatar jxjxjhjh commented on May 22, 2024

不了解,我用的是nginx,你看下caddy的文档吧

设置没问题,是地址中出现了#号,能优化一下去掉#号吗?

from mark-idea.

Hansanshi avatar Hansanshi commented on May 22, 2024

Nginx配置跳转没问题,那这明显是caddy的问题或者你配置的问题

from mark-idea.

jxjxjhjh avatar jxjxjhjh commented on May 22, 2024

Nginx配置跳转没问题,那这明显是caddy的问题或者你配置的问题

配置没问题,我现在设置跳转到baidu.com可以正常访问。
实际上就是caddy跳转不支持域名中有#号。

from mark-idea.

Hansanshi avatar Hansanshi commented on May 22, 2024

所以这就是caddy的问题嘛 应该caddy改

因为这本质是一个单页应用,有#是正常的,历史模式是需要后端进行配合配置

from mark-idea.

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.