youngsterxyf
|
9aa2e5b575
|
fix issue#1787: The cause is that if the url is /m,and we set beego.BConfig.WebConfig.DirectoryIndex = true, then it should redirect to /m/
|
2016-03-13 21:39:26 +08:00 |
|
JessonChan
|
226e54e0d8
|
static file map race bug fixed
|
2016-03-04 10:54:54 +08:00 |
|
astaxie
|
f925bb9058
|
golint all the files
|
2016-01-18 00:18:21 +08:00 |
|
Vitaly Velikodny
|
48fd9675ad
|
Refactoring: Move dev & prod runmodes to const
|
2015-12-29 21:32:37 +03:00 |
|
astaxie
|
f70f338025
|
use sync.Pool to reuse Context
|
2015-12-10 21:59:54 +08:00 |
|
astaxie
|
be60f47488
|
Merge pull request #1455 from nkbai/develop
windows下静态文件映射找不到问题以及 grace init延后
|
2015-12-09 23:44:45 +08:00 |
|
astaxie
|
d1bba02958
|
refact beego config
|
2015-12-09 23:35:04 +08:00 |
|
nkbai
|
82e0105d22
|
Revert "windows下静态文件映射找不到问题,"
windows下路径需要filepath.ToSlash
This reverts commit 2c8cb5693e .
|
2015-12-04 23:15:06 +08:00 |
|
nkbai
|
ff0762cc19
|
Merge remote-tracking branch 'upstream/develop' into develop
|
2015-12-03 15:50:21 +08:00 |
|
nkbai
|
2c8cb5693e
|
windows下静态文件映射找不到问题,
path.Clean和filepath.Clean是有区别的
|
2015-11-27 12:10:39 +08:00 |
|
JessonChan
|
9170b91075
|
go style format (remove the blank after comments)
|
2015-11-21 08:46:19 +08:00 |
|
JessonChan
|
5d01afe3a6
|
isOk to check whether the file is latest
|
2015-11-16 14:05:05 +08:00 |
|
JessonChan
|
d963bb79bd
|
avoid map-lock delete
|
2015-11-16 10:31:27 +08:00 |
|
JessonChan
|
214030fad4
|
bytes reader replace string reader
|
2015-11-12 11:44:29 +08:00 |
|
JessonChan
|
f8db8ae9c3
|
add some comments
|
2015-11-12 10:48:36 +08:00 |
|
JessonChan
|
d2c60619fa
|
new static file support code
|
2015-11-11 16:22:40 +08:00 |
|
JessonChan
|
8603127c81
|
beego package file path rewrite
|
2015-11-10 13:10:42 +08:00 |
|
JessonChan
|
3872c48349
|
accept encoding refactor and bug fixed
|
2015-11-10 10:55:47 +08:00 |
|
JessonChan
|
860568cb6c
|
modified as astaxie reviews
https://github.com/astaxie/beego/pull/1376
|
2015-11-06 18:51:53 +08:00 |
|
JessonChan
|
d4f3dfd527
|
return when find static path
|
2015-09-22 14:15:41 +08:00 |
|
JessonChan
|
9c17f73489
|
code refactor
|
2015-09-22 13:48:34 +08:00 |
|
JessonChan
|
4995f91547
|
code refactor
|
2015-09-22 13:46:20 +08:00 |
|
JessonChan
|
dc38b324e0
|
code bug fixed
|
2015-09-22 12:19:31 +08:00 |
|
astaxie
|
95ef4c7136
|
server index.html in beego with ServeContent
|
2015-09-21 23:56:24 +08:00 |
|
astaxie
|
eb85e8e328
|
path.Clean can't clean window separate .."
"
|
2015-09-20 19:59:30 +08:00 |
|
astaxie
|
8615f875f8
|
make golint happy staticfile.go
|
2015-09-08 22:07:44 +08:00 |
|
astaxie
|
0207caab6f
|
keep the shortname for logs info/warn/debug
|
2015-06-15 20:44:14 +08:00 |
|
astaxie
|
3aceaf8838
|
error support controller
|
2015-02-26 23:34:43 +08:00 |
|
astaxie
|
31e6133413
|
beego: improve static file index.html simple code
|
2014-10-01 08:57:10 +08:00 |
|
astaxie
|
f5f3395560
|
update the isdir
|
2014-09-24 14:48:08 +08:00 |
|
astaxie
|
7e060e6e5c
|
fix the static file dir
|
2014-09-23 00:03:47 +08:00 |
|
astaxie
|
727d2f9ea1
|
fix not found when has mulit static dir
robot &robots
|
2014-09-22 23:44:50 +08:00 |
|
astaxie
|
a144769515
|
update the documents & comments
|
2014-08-18 16:41:43 +08:00 |
|
astaxie
|
474a16a7a0
|
beego: improve the static file server
|
2014-08-04 15:31:27 +08:00 |
|
astaxie
|
e6d6419a65
|
beego: static file support robots.txt
|
2014-07-16 22:27:53 +08:00 |
|
astaxie
|
fefd8ddb5b
|
beego: update licence& fix #669
|
2014-07-03 23:40:21 +08:00 |
|
astaxie
|
0f170a80da
|
update the comments fix #658
|
2014-06-25 10:39:37 +08:00 |
|
astaxie
|
aa275fb5ce
|
beego:fix #639
|
2014-06-11 13:26:45 +08:00 |
|
astaxie
|
6809c97611
|
beego: improve performance
|
2014-06-11 01:11:32 +08:00 |
|
astaxie
|
c188cbbcb4
|
update all files License
|
2014-05-17 02:26:50 +08:00 |
|
astaxie
|
18fee2ad9a
|
beego: fixed serious Directory Traversal
|
2014-04-08 17:43:25 +08:00 |
|
astaxie
|
3255a43568
|
beego: move staticServer to New file
|
2014-04-06 00:18:21 +08:00 |
|