Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.frankframework.application.endpoints;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class FrontendForwardController {

@RequestMapping(value = "/{path:[^\\.]*}")
@GetMapping(value = "/{path:[^\\.]*}")
Comment on lines +4 to +10
Copy link

Copilot AI Sep 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing from @RequestMapping to @GetMapping creates a breaking change for clients that may be using other HTTP methods (POST, PUT, DELETE) to access this endpoint. Consider if this restriction is intentional, as frontend routing typically needs to handle various HTTP methods for SPA navigation.

Copilot uses AI. Check for mistakes.
public String forward(@PathVariable String path) {
return "forward:/index.html";
}
Expand Down