From b995561e7d83c313c4bdbed203d89531de092d3a Mon Sep 17 00:00:00 2001 From: "yadong.zhang" Date: Wed, 12 Sep 2018 10:22:16 +0800 Subject: [PATCH] Delete application-prod.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 博客迁移功能,支持cnblogs 2. 博客迁移功能新增图片转存功能 --- .../src/main/resources/application-prod.yml | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 blog-admin/src/main/resources/application-prod.yml diff --git a/blog-admin/src/main/resources/application-prod.yml b/blog-admin/src/main/resources/application-prod.yml deleted file mode 100644 index e95546f..0000000 --- a/blog-admin/src/main/resources/application-prod.yml +++ /dev/null @@ -1,50 +0,0 @@ -# Server settings -server: - tomcat: - basedir: /var/tmp/website-blog-admin -# SPRING PROFILES -spring: - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: com.mysql.jdbc.Driver - url: jdbc:mysql://localhost:3306/dblog?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true - username: root - password: root - # 指定默认MimeMessage的编码,默认为: UTF-8 - mail: - default-encoding: UTF-8 - # 指定SMTP server使用的协议,默认为: smtp - protocol: smtp - # 指定SMTP server host. - host: xxx - port: 465 - # 指定SMTP server的用户名. - username: xxx - # 指定SMTP server登陆密码: - password: xxx - # 指定是否在启动时测试邮件服务器连接,默认为false - test-connection: false - properties: - mail.smtp.auth: true - # 腾讯企业邮箱 下两个配置必须!!! - mail.smtp.ssl.enable: true - mail.smtp.socketFactory.class: javax.net.ssl.SSLSocketFactory - mail.smtp.socketFactory.port: 465 - mail.smtp.starttls.enable: true - mail.smtp.starttls.required: true - mail.smtp.connectiontimeout: 50000 - mail.smtp.timeout: 30000 - mail.smtp.writetimeout: 50000 -# logging settings -logging: - path: /var/tmp/website-blog-admin -####################################自定义配置########################################## -app: - # 是否启用kaptcha验证码 - enableKaptcha: false - # shiro配置项 - shiro: - loginUrl: "/passport/login/" - successUrl: "/" - unauthorizedUrl: "/error/403" -####################################自定义配置########################################## \ No newline at end of file -- GitLab