Giter Club home page Giter Club logo

leanote-of-unofficial's People

Contributors

hengwu0 avatar wiselike avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

leanote-of-unofficial's Issues

网站域名一经设置,使用一段时间后,就无法再进行修改

笔记服务一经跑了一段时间后,最近打算更换域名,发现这个故障,还挺严重的,所以记录如下。

因为目前编写的每篇笔记,其里面包含的图片等,都是直接转换成全链接保存在笔记文本中的。比如:http://xxx.com/api/file/getImage?fileId=625fdd6b421a
所以整个网站的域名都会直接写到每篇笔记文章里去。这导致后续如果域名xxx.com需要做调整,要对每篇笔记的图片等资源都做修改。直接修改笔记服务的conf配置文件,只对未来的笔记生效,老的笔记根本没用,因为它现在没有办法去改变每篇笔记文章里的内容。所以修改过域名后,打开旧的每篇笔记,仍然用的旧的域名来打开笔记里的图片资源的。
如果旧域名失效了,那所有图片都无法访问了。 会呈现404的图片打不开错误。其他附件资源也同理,全都会失效。

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.