Added '/' path to tool. Added .js file for history management
This commit is contained in:
@@ -28,7 +28,7 @@ public class MockController {
|
||||
* @return
|
||||
*/
|
||||
@SneakyThrows
|
||||
@GetMapping("/mock")
|
||||
@GetMapping({"/","/mock"})
|
||||
public String showHome(){
|
||||
return "mock";
|
||||
}
|
||||
|
||||
0
src/main/resources/static/js/historyloader.js
Normal file
0
src/main/resources/static/js/historyloader.js
Normal file
@@ -9,6 +9,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Acme&family=Josefin+Slab:wght@500&display=swap" rel="stylesheet">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/js/datatransfer.js"></script>
|
||||
<script type="text/javascript" src="historyloader.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
|
||||
Reference in New Issue
Block a user