Commit 3f3e032a authored by Sumaiyya Burney's avatar Sumaiyya Burney

Adds CORS

parent 7db4c98f
......@@ -16,6 +16,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@CrossOrigin(origins = "*")
@RestController
@RequestMapping("/api/promos")
public class PromotionsController {
......
Markdown is supported
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