fix: 修复swagger-ui不能生成https的url
This commit is contained in:
parent
ec70c13154
commit
03b2ee7537
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue