Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix]修复当域名带有端口时,REFERER验证失败的问题 (#103)
* [fix]edit env example file type * [fix]修复域名中带有端口时,REFERER安全验证失败的问题
- Loading branch information
1 parent
6c5a542
commit 5f556eb
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,42 @@ | ||
APP_DEBUG=true[APP]DEFAULT_TIMEZONE=Asia/Shanghai[DATABASE]TYPE=mysqlHOSTNAME=host.docker.internalDATABASE=easyadminUSERNAME=rootPASSWORD=rootHOSTPORT=3306CHARSET=utf8DEBUG=truePREFIX=ea_[LANG]default_lang=zh-cn# 后台配置项组[EASYADMIN]# 后台地址后缀名称ADMIN=admin# 后台登录验证码开关CAPTCHA=true# 是否为演示环境IS_DEMO=true# CDN配置项组CDN=EXAMPLE=true# 是否开启CSRF过滤IS_CSRF=true# 静态文件路径前缀STATIC_PATH=/static# OSS静态文件路径前缀OSS_STATIC_PREFIX=static_easyadmin | ||
APP_DEBUG=true | ||
|
||
[APP] | ||
DEFAULT_TIMEZONE=Asia/Shanghai | ||
|
||
[DATABASE] | ||
TYPE=mysql | ||
HOSTNAME=host.docker.internal | ||
DATABASE=easyadmin | ||
USERNAME=root | ||
PASSWORD=root | ||
HOSTPORT=3306 | ||
CHARSET=utf8 | ||
DEBUG=true | ||
PREFIX=ea_ | ||
|
||
[LANG] | ||
default_lang=zh-cn | ||
|
||
# 后台配置项组 | ||
[EASYADMIN] | ||
# 后台地址后缀名称 | ||
ADMIN=admin | ||
|
||
# 后台登录验证码开关 | ||
CAPTCHA=true | ||
|
||
# 是否为演示环境 | ||
IS_DEMO=true | ||
|
||
# CDN配置项组 | ||
CDN= | ||
EXAMPLE=true | ||
|
||
# 是否开启CSRF过滤 | ||
IS_CSRF=true | ||
|
||
# 静态文件路径前缀 | ||
STATIC_PATH=/static | ||
|
||
# OSS静态文件路径前缀 | ||
OSS_STATIC_PREFIX=static_easyadmin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters