knightliao / disconf

Distributed Configuration Management Platform(分布式配置管理平台)
http://disconf.readthedocs.io/
Apache License 2.0
5.56k stars 2.29k forks source link

html使用了很多绝对路径,无法 添加前缀路径contextPath #330

Open lemonzone2010 opened 7 years ago

lemonzone2010 commented 7 years ago

例如:登陆按钮 页面href=/login.html

<a href="/login.html">
<span class="zu-top-nav-link">登录</span>
</a>

应该去掉/ 改成如下: /login.html -> login.html

<a href="login.html">
<span class="zu-top-nav-link">登录</span>
</a>

里面还有很多其他的都是用绝对路径导致无法在nginx或者应用中添加contextPath