|
@@ -0,0 +1,21 @@
|
|
|
|
|
+package com.style24.front.support.config;
|
|
|
|
|
+
|
|
|
|
|
+import org.springframework.context.annotation.Configuration;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * Error Configuration
|
|
|
|
|
+ *
|
|
|
|
|
+ * @author gagamel
|
|
|
|
|
+ * @since 2021. 8. 19
|
|
|
|
|
+ */
|
|
|
|
|
+@Configuration
|
|
|
|
|
+public class TsfErrorConfig {
|
|
|
|
|
+
|
|
|
|
|
+// @Bean
|
|
|
|
|
+// public ConfigurableServletWebServerFactory webServerFactory() {
|
|
|
|
|
+// TomcatServletWebServerFactory factory = new TomcatServletWebServerFactory();
|
|
|
|
|
+// factory.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/error"));
|
|
|
|
|
+// return factory;
|
|
|
|
|
+// }
|
|
|
|
|
+
|
|
|
|
|
+}
|