Skip to content

Commit

Permalink
update WebConfiguration (#45)
Browse files Browse the repository at this point in the history
* add WebConfiguration

* update guavaVersion
  • Loading branch information
EddeCCC committed Aug 22, 2023
1 parent 4bf60f0 commit c616184
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ openTelemetryVersion=1.27.0
openTelemetryAlphaVersion=1.27.0-alpha
openTelemetryProtoVersion=1.7.1-alpha
protobufVersion=3.22.3
guavaVersion=31.1-jre
guavaVersion=32.1.2-jre
geoip2Version=4.0.1
commonsNetVersion=3.9.0
commonsMath3Version=3.6.1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package rocks.inspectit.oce.eum.server.rest;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class WebConfiguration implements WebMvcConfigurer {

@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
configurer.setUseTrailingSlashMatch(true);
}
}

0 comments on commit c616184

Please sign in to comment.