Skip to content

Commit

Permalink
test: Testing error /ui
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinaBc3 committed Jan 8, 2025
1 parent aeb6d60 commit b6d48e1
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package org.integratedmodelling.klab.hub.controllers;

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

@Controller
@RequestMapping("/")
public class FrontEndController {

@GetMapping("/")
public ModelAndView home() {
ModelAndView home = new ModelAndView();
home.setViewName("/ui/index.html");
return home;
}
}
//package org.integratedmodelling.klab.hub.controllers;
//
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.servlet.ModelAndView;
//
//@Controller
//@RequestMapping("/")
//public class FrontEndController {
//
// @GetMapping("/")
// public ModelAndView home() {
// ModelAndView home = new ModelAndView();
// home.setViewName("/ui/index.html");
// return home;
// }
//}

0 comments on commit b6d48e1

Please sign in to comment.