From a5fac95408a43ad43de9d88c30d06c0918c7bc8f Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 29 May 2024 11:14:44 +0800
Subject: [PATCH] 配置调整

---
 src/main/resources/application.yml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index d5001ef..c3a62d9 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -48,6 +48,21 @@
         session-stat-max-count: 10
   main:
     allow-circular-references: true
+  freemarker:
+    # 模板后缀名
+    suffix: .ftl
+    # 文档类型
+    content-type: text/html
+    # 页面编码
+    charset: UTF-8
+    # 页面缓存
+    cache: false
+    # 模板路径
+    template-loader-path: classpath:/templates/
+  web:
+    # 资源路径
+    resources:
+      static-locations: classpath:/static/
   #邮件配置
   mail:
     # 配置 SMTP 服务器地址
@@ -229,6 +244,8 @@
     #接口放行
     skip-url:
       - /blade-test/**
+      - /oauth/**
+      - /login
 
     #授权认证配置
     auth:

--
Gitblit v1.9.3