Commit 861e10d4 authored by Liang Ding's avatar Liang Ding

删除无用保留链接;新增静态资源

新增静态资源:
<include path="/CHANGE_LOGS.html" />
<include path="/README.txt" />
<include path="/LICENSE.txt" />
parent 7ac87a31
...@@ -30,7 +30,7 @@ import org.b3log.solo.repository.impl.PageRepositoryImpl; ...@@ -30,7 +30,7 @@ import org.b3log.solo.repository.impl.PageRepositoryImpl;
* Permalink utilities. * Permalink utilities.
* *
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a> * @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @version 1.1.0.7, May 11, 2012 * @version 1.1.0.8, Aug 22, 2012
* @since 0.3.1 * @since 0.3.1
*/ */
public final class Permalinks { public final class Permalinks {
...@@ -52,12 +52,7 @@ public final class Permalinks { ...@@ -52,12 +52,7 @@ public final class Permalinks {
*/ */
public static final String[] RESERVED_LINKS = new String[]{ public static final String[] RESERVED_LINKS = new String[]{
"/", "/",
"/archives/",
"/article", "/article",
"/console/",
"/500.html",
"/403.html",
"/404.html",
"/tags.html", "/tags.html",
"/tags", "/tags",
"/page", "/page",
...@@ -67,7 +62,6 @@ public final class Permalinks { ...@@ -67,7 +62,6 @@ public final class Permalinks {
"/tag-articles-rss.do", "/tag-articles-rss.do",
"/get-random-articles.do", "/get-random-articles.do",
"/article-random-double-gen.do", "/article-random-double-gen.do",
"/upgrade/checker.do",
"/captcha.do", "/captcha.do",
"/kill-browser.html", "/kill-browser.html",
"/add-article-comment.do", "/add-article-comment.do",
...@@ -77,10 +71,6 @@ public final class Permalinks { ...@@ -77,10 +71,6 @@ public final class Permalinks {
"/sitemap.xml", "/sitemap.xml",
"/login", "/login",
"/logout", "/logout",
"/_ah/", // For local dev server
"/skins/",
"/images/",
"/styles/",
"/get-article-content", "/get-article-content",
"/admin-index.do", "/admin-index.do",
"/admin-article.do", "/admin-article.do",
...@@ -100,7 +90,6 @@ public final class Permalinks { ...@@ -100,7 +90,6 @@ public final class Permalinks {
"/rm-all-data.do", "/rm-all-data.do",
"/init", "/init",
"/clear-cache.do", "/clear-cache.do",
"/apis/metaweblog"
}; };
/** /**
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
Description: Web deployment descriptor on GAE. See Description: Web deployment descriptor on GAE. See
http://code.google.com/intl/en/appengine/docs/java/config/appconfig.html http://code.google.com/intl/en/appengine/docs/java/config/appconfig.html
for more details. for more details.
Version: 1.0.3.8, Aug 16, 2012 Version: 1.0.3.9, Aug 22, 2012
Author: Liang Ding Author: Liang Ding
--> -->
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
...@@ -97,6 +97,10 @@ ...@@ -97,6 +97,10 @@
<include path="/plugins/**.htm" /> <include path="/plugins/**.htm" />
<include path="/plugins/**/*.htm" /> <include path="/plugins/**/*.htm" />
<include path="/CHANGE_LOGS.html" />
<include path="/README.txt" />
<include path="/LICENSE.txt" />
</static-files> </static-files>
</appengine-web-app> </appengine-web-app>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment