diff --git a/api-test/frontend/public/index.html b/api-test/frontend/public/index.html index bc9da8bdf5..6bdb9566b0 100644 --- a/api-test/frontend/public/index.html +++ b/api-test/frontend/public/index.html @@ -5,7 +5,7 @@ - + <%= htmlWebpackPlugin.options.title %> @@ -22,4 +22,4 @@ - \ No newline at end of file + diff --git a/framework/gateway/pom.xml b/framework/gateway/pom.xml index 6ed373d18a..11c9fffa77 100644 --- a/framework/gateway/pom.xml +++ b/framework/gateway/pom.xml @@ -280,6 +280,9 @@ + + + diff --git a/framework/gateway/src/main/java/io/metersphere/gateway/service/BaseDisplayService.java b/framework/gateway/src/main/java/io/metersphere/gateway/service/BaseDisplayService.java index 89d4823a4e..dee743d28e 100644 --- a/framework/gateway/src/main/java/io/metersphere/gateway/service/BaseDisplayService.java +++ b/framework/gateway/src/main/java/io/metersphere/gateway/service/BaseDisplayService.java @@ -57,8 +57,8 @@ public class BaseDisplayService { PathMatchingResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(getClass().getClassLoader()); switch (imageName) { case "logo": - bytes = IOUtils.toByteArray(resolver.getResource("/static/assets/logo-light-MeterSphere.svg").getInputStream()); - contentType = MediaType.valueOf("image/svg+xml"); + bytes = IOUtils.toByteArray(resolver.getResource("/static/assets/favicon.ico").getInputStream()); + contentType = MediaType.valueOf("image/vnd.microsoft.icon"); break; case "loginImage": bytes = IOUtils.toByteArray(resolver.getResource("/static/assets/info.png").getInputStream()); diff --git a/framework/sdk-parent/frontend/public/index.html b/framework/sdk-parent/frontend/public/index.html index 035f22a53c..cd803b8c0a 100644 --- a/framework/sdk-parent/frontend/public/index.html +++ b/framework/sdk-parent/frontend/public/index.html @@ -5,7 +5,7 @@ - + @@ -19,4 +19,4 @@ - \ No newline at end of file + diff --git a/performance-test/frontend/public/index.html b/performance-test/frontend/public/index.html index 6049bc7437..2c0e51c8af 100644 --- a/performance-test/frontend/public/index.html +++ b/performance-test/frontend/public/index.html @@ -5,7 +5,7 @@ - + <%= htmlWebpackPlugin.options.title %> @@ -21,4 +21,4 @@ - \ No newline at end of file + diff --git a/project-management/frontend/public/index.html b/project-management/frontend/public/index.html index 6049bc7437..2c0e51c8af 100644 --- a/project-management/frontend/public/index.html +++ b/project-management/frontend/public/index.html @@ -5,7 +5,7 @@ - + <%= htmlWebpackPlugin.options.title %> @@ -21,4 +21,4 @@ - \ No newline at end of file + diff --git a/report-stat/frontend/public/index.html b/report-stat/frontend/public/index.html index 6049bc7437..2c0e51c8af 100644 --- a/report-stat/frontend/public/index.html +++ b/report-stat/frontend/public/index.html @@ -5,7 +5,7 @@ - + <%= htmlWebpackPlugin.options.title %> @@ -21,4 +21,4 @@ - \ No newline at end of file + diff --git a/system-setting/frontend/public/index.html b/system-setting/frontend/public/index.html index 6049bc7437..2c0e51c8af 100644 --- a/system-setting/frontend/public/index.html +++ b/system-setting/frontend/public/index.html @@ -5,7 +5,7 @@ - + <%= htmlWebpackPlugin.options.title %> @@ -21,4 +21,4 @@ - \ No newline at end of file + diff --git a/test-track/frontend/public/index.html b/test-track/frontend/public/index.html index 6049bc7437..2c0e51c8af 100644 --- a/test-track/frontend/public/index.html +++ b/test-track/frontend/public/index.html @@ -5,7 +5,7 @@ - + <%= htmlWebpackPlugin.options.title %> @@ -21,4 +21,4 @@ - \ No newline at end of file + diff --git a/workstation/frontend/public/index.html b/workstation/frontend/public/index.html index 6049bc7437..929274507f 100644 --- a/workstation/frontend/public/index.html +++ b/workstation/frontend/public/index.html @@ -5,8 +5,8 @@ - - + <link rel="shortcut icon" href="/display/file/logo" type="image/x-icon"> + <title> <%= htmlWebpackPlugin.options.title %> @@ -21,4 +21,4 @@ - \ No newline at end of file +