Skip to content

Commit a2f968e

Browse files
authored
Merge pull request #147 from nimuy99/chore/#1-setting
#1 Chore: ec2 주소 관련 파일 수정
2 parents 8e32ea3 + 2eea021 commit a2f968e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/com/memesphere/global/config/CorsMvcConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class CorsMvcConfig implements WebMvcConfigurer {
1010
@Override
1111
public void addCorsMappings(CorsRegistry corsRegistry) {
1212
corsRegistry.addMapping("/**")
13-
.allowedOrigins("http://localhost:3000", "http://15.164.103.195", "http://memesphere.site/",
13+
.allowedOrigins("http://localhost:3000", "http://3.36.128.243", "http://memesphere.site/",
1414
"https://memesphere.site/", "https://www.memesphere.site/",
1515
"http://api.memesphere.site", "https://api.memesphere.site");
1616
}

src/main/java/com/memesphere/global/config/SwaggerConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public OpenAPI MemeSphereAPI() {
3434
.bearerFormat("JWT"));
3535

3636
return new OpenAPI()
37-
//.addServersItem(new Server().url("https://15.164.103.195.nip.io")) // 기본 URL을 nip.io 도메인으로 설정
3837
.addServersItem(new Server().url("/"))
3938
.info(info)
4039
.addSecurityItem(securityRequirement)

0 commit comments

Comments
 (0)