Skip to content
Snippets Groups Projects
Commit 7118fb4e authored by eggle's avatar eggle
Browse files

+crossOrigin

parent b5a84bc7
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ import com.example.oasisdemo.vo.ResponseVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@CrossOrigin(origins = "http://101.132.151.29", methods = {RequestMethod.GET, RequestMethod.POST, RequestMethod.PUT, RequestMethod.DELETE}, maxAge = 60L)
//@CrossOrigin(origins = "http://101.132.151.29", methods = {RequestMethod.GET, RequestMethod.POST, RequestMethod.PUT, RequestMethod.DELETE}, maxAge = 60L)
@RestController
public class AuthorDisplayController {
@Autowired
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment