From 1859c5eb27fdd03a9cce26e54663716630a99585 Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 24 Dec 2023 11:34:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BFixed=20frontend=20load=20error=20o?= =?UTF-8?q?n=20jar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/github/zxbu/webdavteambition/WebdavApplication.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/github/zxbu/webdavteambition/WebdavApplication.java b/src/main/java/com/github/zxbu/webdavteambition/WebdavApplication.java index 44af8c5..3ab7871 100644 --- a/src/main/java/com/github/zxbu/webdavteambition/WebdavApplication.java +++ b/src/main/java/com/github/zxbu/webdavteambition/WebdavApplication.java @@ -20,6 +20,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.boot.web.servlet.ServletRegistrationBean; import org.springframework.context.annotation.Bean; @@ -30,7 +31,7 @@ import java.util.Map; @EnableScheduling -@SpringBootApplication +@SpringBootApplication(exclude = {ErrorMvcAutoConfiguration.class}) @RegisterReflectionForBinding({ PathInfo.class, AliyunDriveProperties.class,