# WebHomeController.java

    package com.yumu.noveltranslator.adapter.in.rest.web;

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

    @Controller
    public class WebHomeController {

        @GetMapping("/")
        public String home() {
            return "index";
        }

        @GetMapping("/home")
        public String homePage() {
            return "index";
        }
    }