Skip to content

Commit

Permalink
perf:Knife4jInsight版本升级
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoymin committed Mar 23, 2023
1 parent ddaf78c commit 9fc3351
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 7 deletions.
2 changes: 1 addition & 1 deletion knife4j-insight/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-dependencies</artifactId>
<version>4.0.0</version>
<version>4.1.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
40 changes: 39 additions & 1 deletion knife4j-insight/src/main/resources/templates/doc.html
Original file line number Diff line number Diff line change
@@ -1 +1,39 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/webjars/css/chunk-296622eb.20e6d994.css rel=prefetch><link href=/webjars/css/chunk-d7d5f59c.a9ffbfcb.css rel=prefetch><link href=/webjars/js/chunk-069eb437.907a4e2a.js rel=prefetch><link href=/webjars/js/chunk-0d102d5a.144e3dee.js rel=prefetch><link href=/webjars/js/chunk-0fd67716.d57e2c41.js rel=prefetch><link href=/webjars/js/chunk-296622eb.e4e811f0.js rel=prefetch><link href=/webjars/js/chunk-2d0af44e.edce7802.js rel=prefetch><link href=/webjars/js/chunk-2d0bd799.d2d95c02.js rel=prefetch><link href=/webjars/js/chunk-2d0da532.0b13c746.js rel=prefetch><link href=/webjars/js/chunk-3b888a65.8737ce4f.js rel=prefetch><link href=/webjars/js/chunk-3ec4aaa8.a79d19f8.js rel=prefetch><link href=/webjars/js/chunk-589faee0.f3951d02.js rel=prefetch><link href=/webjars/js/chunk-735c675c.ecb8aa58.js rel=prefetch><link href=/webjars/js/chunk-adb9e944.55c41d5b.js rel=prefetch><link href=/webjars/js/chunk-d7d5f59c.42190458.js rel=prefetch><link href=/webjars/js/chunk-f876db6c.4965fec9.js rel=prefetch><link href=/webjars/css/app.043d2c47.css rel=preload as=style><link href=/webjars/css/chunk-vendors.f24a310a.css rel=preload as=style><link href=/webjars/js/app.1df65d9d.js rel=preload as=script><link href=/webjars/js/chunk-vendors.d59642c5.js rel=preload as=script><link href=/webjars/css/chunk-vendors.f24a310a.css rel=stylesheet><link href=/webjars/css/app.043d2c47.css rel=stylesheet></head><body><noscript><strong>We're sorry but knife4j-vue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/webjars/js/chunk-vendors.d59642c5.js></script><script src=/webjars/js/app.1df65d9d.js></script></body></html>
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8>
<meta http-equiv=X-UA-Compatible content="IE=edge">
<meta name=viewport content="width=device-width,initial-scale=1">
<link rel=icon href=/favicon.ico>
<title></title>
<link href=/webjars/css/chunk-296622eb.20e6d994.css rel=prefetch>
<link href=/webjars/css/chunk-d7d5f59c.a9ffbfcb.css rel=prefetch>
<link href=/webjars/js/chunk-069eb437.907a4e2a.js rel=prefetch>
<link href=/webjars/js/chunk-0d102d5a.144e3dee.js rel=prefetch>
<link href=/webjars/js/chunk-0fd67716.d57e2c41.js rel=prefetch>
<link href=/webjars/js/chunk-296622eb.e4e811f0.js rel=prefetch>
<link href=/webjars/js/chunk-2d0af44e.edce7802.js rel=prefetch>
<link href=/webjars/js/chunk-2d0bd799.d2d95c02.js rel=prefetch>
<link href=/webjars/js/chunk-2d0da532.0b13c746.js rel=prefetch>
<link href=/webjars/js/chunk-3b888a65.8737ce4f.js rel=prefetch>
<link href=/webjars/js/chunk-3ec4aaa8.a79d19f8.js rel=prefetch>
<link href=/webjars/js/chunk-589faee0.f3951d02.js rel=prefetch>
<link href=/webjars/js/chunk-735c675c.ecb8aa58.js rel=prefetch>
<link href=/webjars/js/chunk-adb9e944.55c41d5b.js rel=prefetch>
<link href=/webjars/js/chunk-d7d5f59c.42190458.js rel=prefetch>
<link href=/webjars/js/chunk-f876db6c.4965fec9.js rel=prefetch>
<link href=/webjars/css/app.043d2c47.css rel=preload as=style>
<link href=/webjars/css/chunk-vendors.f24a310a.css rel=preload as=style>
<link href=/webjars/js/app.1df65d9d.js rel=preload as=script>
<link href=/webjars/js/chunk-vendors.d59642c5.js rel=preload as=script>
<link href=/webjars/css/chunk-vendors.f24a310a.css rel=stylesheet>
<link href=/webjars/css/app.043d2c47.css rel=stylesheet>
</head>
<body>
<noscript><strong>We're sorry but knife4j-vue doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong></noscript>
<div id=app></div>
<script src=/webjars/js/chunk-vendors.d59642c5.js></script>
<script src=/webjars/js/app.1df65d9d.js></script>
</body>
</html>
10 changes: 5 additions & 5 deletions knife4j-vue/buildCopy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ copyOpenAPI2ALL(){
rm -rf /Users/xiaoyumin/code/gitee/knife4j/knife4j/knife4j-openapi2-ui/src/main/resources/robots.txt
rm -rf /Users/xiaoyumin/code/gitee/knife4j/knife4j/knife4j-openapi2-ui/src/main/resources/favicon.ico
echo "copy desktop"
rm -rf /Users/xiaoyumin/code/gitee/knife4j/knife4j-desktop/src/main/resources/templates/doc.html
cp -r dist/doc.html /Users/xiaoyumin/code/gitee/knife4j/knife4j-desktop/src/main/resources/templates
sed -i "" "s/src\=webjars/src\=\/webjars/g" /Users/xiaoyumin/code/gitee/knife4j/knife4j-desktop/src/main/resources/templates/doc.html
sed -i "" "s/href\=favicon/href\=\/favicon/g" /Users/xiaoyumin/code/gitee/knife4j/knife4j-desktop/src/main/resources/templates/doc.html
sed -i "" "s/href\=webjars/href\=\/webjars/g" /Users/xiaoyumin/code/gitee/knife4j/knife4j-desktop/src/main/resources/templates/doc.html
rm -rf /Users/xiaoyumin/code/gitee/knife4j/knife4j-insight/src/main/resources/templates/doc.html
cp -r dist/doc.html /Users/xiaoyumin/code/gitee/knife4j/knife4j-insight/src/main/resources/templates
sed -i "" "s/src\=webjars/src\=\/webjars/g" /Users/xiaoyumin/code/gitee/knife4j/knife4j-insight/src/main/resources/templates/doc.html
sed -i "" "s/href\=favicon/href\=\/favicon/g" /Users/xiaoyumin/code/gitee/knife4j/knife4j-insight/src/main/resources/templates/doc.html
sed -i "" "s/href\=webjars/href\=\/webjars/g" /Users/xiaoyumin/code/gitee/knife4j/knife4j-insight/src/main/resources/templates/doc.html

}

Expand Down

0 comments on commit 9fc3351

Please sign in to comment.