File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/cozymate/cozymate_server Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public class AdminAuthController {
4444 private static final String GOOGLE_TOKEN_URL = "https://oauth2.googleapis.com/token" ;
4545 private static final String GOOGLE_USERINFO_URL = "https://www.googleapis.com/oauth2/v3/userinfo" ;
4646 private static final String ADMIN_EMAIL =
"[email protected] " ;
47- private static final String ADMIN_REDIRECT_URL = "https://cozymate- admin.web.app/inquiry" ;
47+ private static final String ADMIN_REDIRECT_URL = "https://admin-cozymate .web.app/inquiry" ;
4848 private static final String GRANT_TYPE = "authorization_code" ;
4949 private static final String COOKIE_NAME = "JWT" ;
5050 private static final int COOKIE_MAX_AGE = -1 ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Excepti
6060 public CorsConfiguration getCorsConfiguration (HttpServletRequest request ) {
6161 CorsConfiguration configuration = new CorsConfiguration ();
6262 configuration .setAllowedOrigins (
63- Arrays .asList ("https://cozymate- admin.web.app" ));
63+ Arrays .asList ("https://admin-cozymate .web.app" ));
6464 configuration .setAllowedMethods (Collections .singletonList ("*" ));
6565 configuration .setAllowCredentials (true );
6666 configuration .setAllowedHeaders (Collections .singletonList ("*" ));
You can’t perform that action at this time.
0 commit comments