Skip to content

Commit

Permalink
add CrossOrigin annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
tfer2442 committed Feb 13, 2023
1 parent 47165cf commit 382134a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import java.util.List;
import java.util.Map;

@CrossOrigin
@Controller
public class BookController {
@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import java.util.List;

@CrossOrigin
@RequestMapping("/api/bookinfo")
@Controller
public class BookInfoController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import java.util.List;

@CrossOrigin
@RequestMapping("/api/bookshelf")
@Controller
public class BookShelfController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import java.util.*;

@CrossOrigin
@Controller
public class RecordController {
@Autowired
Expand Down

0 comments on commit 382134a

Please sign in to comment.