Skip to content

Commit

Permalink
Add trailing slash to dashboard (#5811)
Browse files Browse the repository at this point in the history
- Boot 3.x changed handling of trailing slash meaning
  it's now adviced to define both /dashboard and
  /dashboard/ in UiController
  • Loading branch information
jvalkeal committed Jun 13, 2024
1 parent 316cf77 commit fec5fde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015-2017 the original author or authors.
* Copyright 2015-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,7 @@
* @author Gunnar Hillert
*/
@Controller
@RequestMapping(UiController.WEB_UI_INDEX_PAGE_ROUTE)
@RequestMapping({ UiController.WEB_UI_INDEX_PAGE_ROUTE, UiController.WEB_UI_INDEX_PAGE_ROUTE + "/" })
public class UiController {

public static final String WEB_UI_INDEX_PAGE_ROUTE = "/dashboard";
Expand Down

0 comments on commit fec5fde

Please sign in to comment.