package com.healtrav.session;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {

    @RequestMapping("/login")
    @CrossOrigin(origins = "*", maxAge = 3600)
    public String login() {
        return "forward:/";
    }

}

@@ -78,68 +78,8 @@
 er;%0A
-import org.springframework.web.bind.annotation.CrossOrigin;%0A
 impo
@@ -216,55 +216,8 @@
 n%22)%0A
-    @CrossOrigin(origins = %22*%22, maxAge = 3600)%0A
     

remove @CrossOrigin