Revision 53590
Added by Tsampikos Livisianos over 5 years ago
FunderController.java | ||
---|---|---|
5 | 5 |
|
6 | 6 |
import org.apache.log4j.Logger; |
7 | 7 |
import org.springframework.beans.factory.annotation.Autowired; |
8 |
import org.springframework.web.bind.annotation.CrossOrigin; |
|
8 | 9 |
import org.springframework.web.bind.annotation.PathVariable; |
9 | 10 |
import org.springframework.web.bind.annotation.RequestMapping; |
11 |
import org.springframework.web.bind.annotation.RequestMethod; |
|
10 | 12 |
import org.springframework.web.bind.annotation.RestController; |
11 | 13 |
|
12 | 14 |
@RestController |
15 |
@CrossOrigin(methods = RequestMethod.GET, origins = "*") |
|
13 | 16 |
public class FunderController { |
14 | 17 |
|
15 | 18 |
@Autowired |
Also available in: Unified diff
fix cors