Skip to content
Merged

Dev #62

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions src/main/java/com/codeit/side/common/config/CorsMvcConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ public class CorsMvcConfig implements WebMvcConfigurer {
private static final String[] ALLOWED_ORIGINS = {
"http://localhost:3000",
"http://127.0.0.1:5500",
"https://doitz.netlify.app/",
"https://calit.netlify.app/",
"https://www.thunderting.site",
"https://thunderting.netlify.app"
"https://thunderting.site",
"https://doitz.netlify.app",
"https://thunderting-doitz.vercel.app",
"https://thunderting-one.vercel.app",
"https://thunderting-hong.netlify.app",
"https://thunderting-one.vercel.app",
"https://thundertingdoit.netlify.app",
"https://thunderting.netlify.app",
"https://www.thunderting-site.com"
};
private static final String[] ALLOWED_METHODS = {"GET", "POST", "PUT", "DELETE"};

Expand Down
11 changes: 8 additions & 3 deletions src/main/java/com/codeit/side/common/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ public class SecurityConfig {
private static final List<String> ALLOWED_ORIGINS = List.of(
"http://localhost:3000",
"http://127.0.0.1:5500",
"https://thunderting.site",
"https://doitz.netlify.app",
"https://calit.netlify.app",
"https://www.thunderting.site",
"https://thunderting.netlify.app"
"https://thunderting-doitz.vercel.app",
"https://thunderting-one.vercel.app",
"https://thunderting-hong.netlify.app",
"https://thunderting-one.vercel.app",
"https://thundertingdoit.netlify.app",
"https://thunderting.netlify.app",
"https://www.thunderting-site.com"
);
private static final List<String> ALLOWED_METHODS = List.of("GET", "POST", "PUT", "DELETE");
private static final String[] WHITE_LIST = {
Expand Down
Loading