From 5921a12a9cb52b6fb880cdd2352acee67cbdd27a Mon Sep 17 00:00:00 2001 From: hyxklee Date: Sun, 10 Nov 2024 20:06:33 +0900 Subject: [PATCH] =?UTF-8?q?HOTFIX:=20=EC=8A=A4=EC=9B=A8=EA=B1=B0=20cors=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/leets/X/global/config/swagger/SwaggerConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/leets/X/global/config/swagger/SwaggerConfig.java b/src/main/java/com/leets/X/global/config/swagger/SwaggerConfig.java index 7da2353..20ac88e 100644 --- a/src/main/java/com/leets/X/global/config/swagger/SwaggerConfig.java +++ b/src/main/java/com/leets/X/global/config/swagger/SwaggerConfig.java @@ -27,7 +27,7 @@ public OpenAPI openAPI() { SecurityRequirement securityRequirement = getSecurityRequireMent(); return new OpenAPI() - .addServersItem(new Server().url("https://43.203.226.98.nip.io")) + .addServersItem(new Server().url("/")) .components(new Components().addSecuritySchemes("bearerAuth", securityScheme)) .security(List.of(securityRequirement)); }