Skip to content

Commit

Permalink
chore : DNS를 mvc cors도 허용해본다.
Browse files Browse the repository at this point in the history
  • Loading branch information
Due-IT committed Oct 2, 2024
1 parent bf04ae0 commit 941beac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ public OpenAPI openAPI() {
.info(info)
.servers(List.of(server));
}

}
4 changes: 2 additions & 2 deletions Server/banchango/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring.application.name=banchango

spring.profiles.active=prod

app.cors.allowedOrigins=http://34.222.135.30:8000,http://localhost:3000,http://localhost:8080
app.oauth2.authorizedRedirectUris=http://34.222.135.30:8000,http://localhost:3000/oauth2/redirect,myandroidapp://oauth2/redirect,myiosapp://oauth2/redirect
app.cors.allowedOrigins=https://backendu.com,http://34.222.135.30:8000,http://localhost:3000,http://localhost:8080
app.oauth2.authorizedRedirectUris=https://backendu.com,http://34.222.135.30:8000,http://localhost:3000/oauth2/redirect,myandroidapp://oauth2/redirect,myiosapp://oauth2/redirect

api.aiBaseUrl=http://34.222.135.30:8000

0 comments on commit 941beac

Please sign in to comment.