enum 추가, cors 설정 추가

This commit is contained in:
2025-11-28 11:19:20 +09:00
parent d230b74aa0
commit 7ee3afb8f0
5 changed files with 11 additions and 15 deletions

View File

@@ -25,9 +25,9 @@ public enum DetectionClassification {
private final String id;
private final String desc;
/**
* Optional: Helper method to get the enum from a String, case-insensitive, or return ETC if not found.
* Optional: Helper method to get the enum from a String, case-insensitive, or return ETC if not
* found.
*/
public static DetectionClassification fromString(String text) {
if (text == null || text.trim().isEmpty()) {