Commit fede68cb authored by Tomáš Biloš's avatar Tomáš Biloš
Browse files

add cors annontation

parent f5466362
Pipeline #141075 waiting for manual action with stage
......@@ -16,6 +16,8 @@ import java.util.stream.StreamSupport;
/**
* @author Juraj Fiala
*/
// TODO Find more suitable solution for CORS
@CrossOrigin(origins = "http://localhost:4200")
@RestController
@RequestMapping(value = "/countries")
public class CountryController {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment