Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ne-1 into frontend/feature/add-exam
hyeona01 committed Nov 26, 2024
2 parents d243a09 + 880a85e commit 4490d1e
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ai/4tune_AI/gaze_ver2/main.py
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@


class CheatingResult(BaseModel):
userId: str
userId: int
cheatingCounts: dict
timestamp: str
# messages: list = [] # 부정행위 메시지 추가
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(List.of("http://localhost:3000","http://localhost:8000", "https://eyesee-admin.vercel.app","https://eyesee-exam.vercel.app","http://43.201.224.93:8000")); // 허용할 도메인 설정
configuration.setAllowedOrigins(List.of("http://localhost:3000","http://localhost:8000", "https://eyesee-admin.vercel.app","https://eyesee-exam.vercel.app","https://43.201.224.93.nip.io")); // 허용할 도메인 설정
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS")); // 허용할 HTTP 메서드
configuration.setAllowedHeaders(List.of("*")); // 모든 헤더 허용
configuration.setAllowCredentials(true); // 인증 정보 포함 여부

0 comments on commit 4490d1e

Please sign in to comment.