Skip to content

Commit

Permalink
Merge pull request #59 from Route-Box/feature/#55
Browse files Browse the repository at this point in the history
feat: #55 web용 allowed origin 추가
  • Loading branch information
suyeoniii authored Aug 21, 2024
2 parents 5fee965 + a802c01 commit 7cdb0cf
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ class SecurityConfig {
val corsConfig = CorsConfiguration()
corsConfig.allowedOrigins = listOf(
"https://api-dev.myroutebox.com",
"https://*.myroutebox.com",
"https://www.myroutebox.com",
"https://myroutebox.com",
"http://localhost:8080",
// For web local development
// For web
"http://localhost:5173",
"https://www.dev.myroutebox.com",
"https://dev.d1a0dmxvzr7an0.amplifyapp.com",
)
corsConfig.allowedMethods = listOf(
HttpMethod.GET.name(),
Expand Down

0 comments on commit 7cdb0cf

Please sign in to comment.