]> source.dussan.org Git - gitea.git/commitdiff
Fix #468
authorUnknwon <joe2010xtmf@163.com>
Mon, 15 Sep 2014 21:23:58 +0000 (17:23 -0400)
committerUnknwon <joe2010xtmf@163.com>
Mon, 15 Sep 2014 21:23:58 +0000 (17:23 -0400)
README.md
README_ZH.md
cmd/web.go

index 057711445260f802c7085fe1a8804971c9286692..3c319896af974771154bde43beccfb26b921113c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -9,8 +9,8 @@ Gogs(Go Git Service) is a painless self-hosted Git Service written in Go.
 
 ### NOTICES
 
-- Due to testing purpose, data of [try.gogits.org](http://try.gogits.org) has been reset in **June 21, 2014** and will reset multiple times after. Please do **NOT** put your important data on the site.
-- Demo site [try.gogits.org](http://try.gogits.org) is running under `dev` branch.
+- Due to testing purpose, data of [try.gogs.io](https://try.gogs.io) has been reset in **June 21, 2014** and will reset multiple times after. Please do **NOT** put your important data on the site.
+- Demo site [try.gogs.io](https://try.gogs.io) is running under `dev` branch.
 
 #### Other language version
 
@@ -24,7 +24,7 @@ The goal of this project is to make the easiest, fastest and most painless way t
 
 - Please see [Documentation](http://gogs.io/docs/intro/) for project design, known issues, and change log.
 - See [Trello Board](https://trello.com/b/uxAoeLUl/gogs-go-git-service) to follow the develop team.
-- Try it before anything? Do it [online](http://try.gogits.org/Unknown/gogs) or go down to **Installation -> Install from binary** section!
+- Try it before anything? Do it [online](https://try.gogs.io/Unknown/gogs) or go down to **Installation -> Install from binary** section!
 - Having troubles? Get help from [Troubleshooting](http://gogs.io/docs/intro/troubleshooting.md).
 
 ## Features
index 2fa82e7d273d6f084f907fe27a4d1df6b5795176..7faeee2beadd586c796f49d0793484d17f71520c 100644 (file)
@@ -5,7 +5,7 @@ Gogs(Go Git Service) 是一个基于 Go 语言的自助 Git 服务。
 
 ![Demo](https://gowalker.org/public/gogs_demo.gif)
 
-##### 当前版本:0.5.0 Beta
+##### 当前版本:0.5.1 Beta
 
 ## 开发目的
 
@@ -15,7 +15,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
 
 - 有关项目设计、已知问题和变更日志,请通过  [使用手册](http://gogs.io/docs/intro/) 查看。
 - 您可以到 [Trello Board](https://trello.com/b/uxAoeLUl/gogs-go-git-service) 跟随开发团队的脚步。
-- 想要先睹为快?通过 [在线体验](http://try.gogits.org/Unknown/gogs) 或查看 **安装部署 -> 二进制安装** 小节。
+- 想要先睹为快?通过 [在线体验](https://try.gogs.io/Unknown/gogs) 或查看 **安装部署 -> 二进制安装** 小节。
 - 使用过程中遇到问题?尝试从 [故障排查](http://gogs.io/docs/intro/troubleshooting.md) 页面获取帮助。
 
 ## 功能特性
index a9ff9dbcc2252d57ba23d5c7079e456f7c400853..f56ae826854a627a60fb77a65ef196233c5ab432 100644 (file)
@@ -64,7 +64,8 @@ func newMacaron() *macaron.Macaron {
        m := macaron.New()
        m.Use(macaron.Logger())
        m.Use(macaron.Recovery())
-       m.Use(macaron.Static("public",
+       m.Use(macaron.Static(
+               path.Join(setting.StaticRootPath, "public"),
                macaron.StaticOptions{
                        SkipLogging: !setting.DisableRouterLog,
                },