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

This commit is contained in:
Shanmuga Krishnan S M
2026-08-07 14:45:32 +05:30
parent 9a88479532
commit 2d344b84c7

View File

@@ -12,7 +12,6 @@ import java.util.*;
@RestController
@RequestMapping("/api/admin")
@CrossOrigin(origins = "*")
public class AdminController {
// Hardcoded credentials - no @Value injection needed