Skip to content

Commit

Permalink
优化体验
Browse files Browse the repository at this point in the history
  • Loading branch information
dingqianwen committed Jun 3, 2022
1 parent 9493bd3 commit dd6248d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 25 deletions.
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
# 关于博客

本站用来记录自己日常等,非商业化站点,无盈利性质,为博主个人博客,任何打赏均捐出公益事业。
本站用来记录自己日常等,非商业化站点,无盈利性质,为博主个人博客,任何打赏均捐出公益事业。

[https://apidocs.cn](https://apidocs.cn)
本站地址:[https://apidocs.cn](https://apidocs.cn)

### 如何部署

NodeJS Version:`v16.15.0`

后端服务

```shell
nohup python -u mb-server.py &
```

Nginx配置为

```text
location /blog {
alias html/blog/;
index index.html;
}
location /bs {
proxy_pass http://localhost:8011;
proxy_set_header X-Real-IP $remote_addr;
}
error_page 404 https://dingqw.com/blog/404.html;
```

21 changes: 0 additions & 21 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
// https://v2.vuepress.vuejs.org
// sitemap生成:https://sitemap.zhetao.com
// nohup python -u mb-server.py &
// Node.js v16.15.0

/*
/blog/ nginx配置为
location /blog {
alias html/blog/;
index index.html;
}
*/

const {path} = require('@vuepress/utils')
const {sidebar} = require('./sidebar')
const {navbar} = require('./navbar')
const {defaultTheme} = require('vuepress')
const {searchPlugin} = require('@vuepress/plugin-search')
const {registerComponentsPlugin} = require('@vuepress/plugin-register-components')
const {shikiPlugin} = require('@vuepress/plugin-shiki')

// npm i -D @vuepress/plugin-google-analytics@next
const {googleAnalyticsPlugin} = require('@vuepress/plugin-google-analytics')

Expand Down Expand Up @@ -68,13 +54,6 @@ module.exports = {
},
``
],
[
"script",
{
"src": "/js/index.js",
},
``
],
// 添加百度统计
[
"script",
Expand Down
3 changes: 2 additions & 1 deletion docs/tools/JsonFormat.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ head:

<br>
<label style="display: flex;">
<textarea class="jf-textarea" placeholder="把数据粘贴此处" v-model="value"></textarea>
<textarea class="jf-textarea" ref="value" placeholder="把数据粘贴此处" v-model="value"></textarea>
</label>
<br><br>
<label>
Expand Down Expand Up @@ -54,6 +54,7 @@ export default {
}
},
mounted() {
this.$refs.value.focus()
},
}
</script>
Expand Down
3 changes: 2 additions & 1 deletion docs/tools/Transfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ head:
<br>
<br>
<label style="display: flex;">
<textarea class="transfer-textarea" placeholder="把数据粘贴此处" v-model="value"></textarea>
<textarea class="transfer-textarea" placeholder="把数据粘贴此处" ref="value" v-model="value"></textarea>
</label>
<br>
<label style="display: flex;">
Expand Down Expand Up @@ -98,6 +98,7 @@ export default {
},
},
mounted() {
this.$refs.value.focus()
},
}
</script>
Expand Down

0 comments on commit dd6248d

Please sign in to comment.