From 0e913e635efbf5be11f0d00d9449347602fbc7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Such=C3=A1nek?= Date: Sat, 20 Jun 2020 19:39:26 +0200 Subject: [PATCH] Fix serving static files --- CHANGELOG.md | 9 ++++++++- pom.xml | 2 +- .../solutions/fairdata/fdp/index/config/WebConfig.java | 2 -- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f2af25..314239a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.1] + +### Fixed + +- Serving static files for the web index page correctly + ## [0.1.0] Initial version for simple list of FAIR Data Points. @@ -17,5 +23,6 @@ Initial version for simple list of FAIR Data Points. - REST API to retrieve entries list (both all and paged) documented using Swagger/OpenAPI - Simple webpage with table to browse entries including sorting and pagination -[Unreleased]: /../../compare/v0.1.0...develop +[Unreleased]: /../../compare/v0.1.1...develop [0.1.0]: /../../tree/v0.1.0 +[0.1.1]: /../../tree/v0.1.1 diff --git a/pom.xml b/pom.xml index f9356c7..868aa2e 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ solutions.fairdata fairdatapoint-index - 0.1.0 + 0.1.1 2020 diff --git a/src/main/java/solutions/fairdata/fdp/index/config/WebConfig.java b/src/main/java/solutions/fairdata/fdp/index/config/WebConfig.java index 5f4c086..ee579b8 100644 --- a/src/main/java/solutions/fairdata/fdp/index/config/WebConfig.java +++ b/src/main/java/solutions/fairdata/fdp/index/config/WebConfig.java @@ -24,11 +24,9 @@ import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry; -import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configuration -@EnableWebMvc public class WebConfig implements WebMvcConfigurer { @Override