diff --git a/backend/src/main/java/io/metersphere/config/OpenApiConfig.java b/backend/src/main/java/io/metersphere/config/OpenApiConfig.java index 9bb10b525b..4db6bbab24 100644 --- a/backend/src/main/java/io/metersphere/config/OpenApiConfig.java +++ b/backend/src/main/java/io/metersphere/config/OpenApiConfig.java @@ -2,13 +2,15 @@ package io.metersphere.config; import io.swagger.v3.oas.annotations.OpenAPIDefinition; import io.swagger.v3.oas.annotations.info.Info; +import io.swagger.v3.oas.annotations.servers.Server; import org.springframework.context.annotation.Configuration; @OpenAPIDefinition( info = @Info( title = "MeterSphere", version = "1.0" - ) + ), + servers = @Server(url = "/") ) @Configuration public class OpenApiConfig {