Add bundled Docker deployment
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package com.example.app.common;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@Controller
|
||||
public class SpaForwardController {
|
||||
@GetMapping({"/weekly", "/monthly", "/projects"})
|
||||
public String forwardToIndex() {
|
||||
return "forward:/index.html";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user