fix(admin): remove @CrossOrigin that conflicts with WebConfig allowCredentials=true
Some checks failed
Deploy RIT Freshers Hub to VPS / Deploy to Live VPS (push) Has been cancelled
Some checks failed
Deploy RIT Freshers Hub to VPS / Deploy to Live VPS (push) Has been cancelled
This commit is contained in:
@@ -12,7 +12,6 @@ import java.util.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/admin")
|
||||
@CrossOrigin(origins = "*")
|
||||
public class AdminController {
|
||||
|
||||
// Hardcoded credentials - no @Value injection needed
|
||||
|
||||
Reference in New Issue
Block a user