mirror of
https://github.com/blossom-editor/blossom
synced 2024-11-17 22:48:03 +08:00
fix: 修改默认域名示例
This commit is contained in:
parent
c39640abd0
commit
efe4b4c4fc
@ -47,7 +47,7 @@ public enum ParamEnum {
|
||||
/**
|
||||
* BLOSSOM 对象存储地址
|
||||
*/
|
||||
BLOSSOM_OBJECT_STORAGE_DOMAIN(false, 0,"http://www.xxx.com/"),
|
||||
BLOSSOM_OBJECT_STORAGE_DOMAIN(false, 0,"http://www.google.com/"),
|
||||
|
||||
/**
|
||||
* 服务器JWT加密字符串
|
||||
|
@ -41,7 +41,7 @@ public class PropertiesCheckListener implements ApplicationListener<ApplicationE
|
||||
"\n[CHECK] 数据库配置: {}" +
|
||||
"\n[CHECK] 数据库用户: {}" +
|
||||
"\n[CHECK] 数据库密码: {}" +
|
||||
"\n[CHECK] 文件前缀: {}, 非 [http://www.xxx.com/] 内容会强制覆盖后台配置" +
|
||||
"\n[CHECK] 文件前缀: {}, 非 [http://www.google.com/] 内容会强制覆盖后台配置" +
|
||||
"\n[CHECK] 文件存储: {}" +
|
||||
"\n[CHECK] 文件大小: {}" +
|
||||
"\n[CHECK] 授权时长: {}" +
|
||||
|
@ -84,6 +84,6 @@ project:
|
||||
os-type: blossom
|
||||
blos:
|
||||
# 请以 /pic 结尾, 如果你在 nginx 中配置有代理, 注意别忘了添加你的代理路径
|
||||
domain: "http://www.xxx.com/"
|
||||
domain: "http://www.google.com/"
|
||||
# 请以 / 开头, / 结尾, 简短的路径在文章中有更好的显示效果, 过长一定程度会使文章内容混乱
|
||||
default-path: "/home/bl/img/"
|
@ -76,6 +76,6 @@ project:
|
||||
blos:
|
||||
# 请以 /pic 结尾, 如果你在 nginx 中配置有代理, 注意别忘了添加你的代理路径
|
||||
# 注意:在下方示例中, /bl 即为 nginx 反向代理路径, 如果你的访问路径中不包含反向代理或路径不同, 请酌情删除或修改
|
||||
domain: "http://www.xxx.com/"
|
||||
domain: "http://www.google.com/"
|
||||
# 请以 / 开头, / 结尾, 简短的路径在文章中有更好的显示效果, 过长一定程度会使文章内容混乱
|
||||
default-path: "/home/bl/img/"
|
@ -189,7 +189,7 @@ INSERT INTO base_sys_param (id, param_name, param_value, param_desc, open_state,
|
||||
SELECT *
|
||||
FROM (select 101 as id,
|
||||
'BLOSSOM_OBJECT_STORAGE_DOMAIN' as param_name,
|
||||
'http://www.xxx.com/' as param_value,
|
||||
'http://www.google.com/' as param_value,
|
||||
'BLOSSOM 对象存储地址' as param_desc,
|
||||
1 as open_state,
|
||||
CURRENT_TIMESTAMP as cre_time,
|
||||
|
@ -20,7 +20,7 @@ const DEFAULT_WEB_ARTICLE_URL = 'https://www.domain.com/blossom/#/articles?artic
|
||||
/**
|
||||
* 博客的默认地址
|
||||
*/
|
||||
const DEFAULT_BLOSSOM_OBJECT_STORAGE_DOMAIN = 'http://www.xxx.com/'
|
||||
const DEFAULT_BLOSSOM_OBJECT_STORAGE_DOMAIN = 'http://www.google.com/'
|
||||
|
||||
/**
|
||||
* 登录状态枚举
|
||||
|
@ -69,7 +69,7 @@
|
||||
:rows="2"
|
||||
resize="none"
|
||||
v-model="customBlogUrl"
|
||||
placeholder="示例: http://www.xxx.com/#/articles?articleId="
|
||||
placeholder="示例: http://www.google.com//#/articles?articleId="
|
||||
@input="customBlogUrlChange"></el-input>
|
||||
</bl-row>
|
||||
<div class="blog-url-error" style="margin-top: 10px">
|
||||
|
Loading…
Reference in New Issue
Block a user