Skip to content

Commit 42e7bf3

Browse files
fix: changed forward to get mapping (#9)
1 parent efad114 commit 42e7bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/frankframework/application/endpoints/FrontendForwardController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package org.frankframework.application.endpoints;
22

33
import org.springframework.stereotype.Controller;
4+
import org.springframework.web.bind.annotation.GetMapping;
45
import org.springframework.web.bind.annotation.PathVariable;
5-
import org.springframework.web.bind.annotation.RequestMapping;
66

77
@Controller
88
public class FrontendForwardController {
99

10-
@RequestMapping(value = "/{path:[^\\.]*}")
10+
@GetMapping(value = "/{path:[^\\.]*}")
1111
public String forward(@PathVariable String path) {
1212
return "forward:/index.html";
1313
}

0 commit comments

Comments
 (0)