From 9651197c5c7a8debcd873a236445c35a907dd3ba Mon Sep 17 00:00:00 2001 From: "xiaoqi.cxq" Date: Tue, 7 Jun 2022 07:49:58 +0800 Subject: [PATCH] update default website --- README.md | 7 +- chrome-app/manifest.json | 4 +- index.html | 2 +- server/index.js | 2 + src/data/defaults/defaultSettings.yml | 8 +- src/data/templates/styledHtmlTemplate.html | 2 +- .../templates/styledHtmlWithTocTemplate.html | 2 +- static/landing/index.html | 6 +- static/landing/privacy_policy.html | 90 +++++++++++++++++++ static/sitemap.xml | 6 +- 10 files changed, 111 insertions(+), 18 deletions(-) create mode 100644 static/landing/privacy_policy.html diff --git a/README.md b/README.md index 854fac87..99706d89 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,14 @@ StackEdit的作者可能因为什么原因,已经很久不维护了,Github **Gogs目前无法支持,因为API目前不支持直接把Markdown推上去,如果后续Gogs的API支持了再添加** **已汉化主要功能部分(2022-06-01)** +对应Docker版本:5.15.5, tag: v5.15.5 -**接下来修改主文档空间为Gitee** - +**已完成修改主文档空间为Gitee(2022-06-04)** +对应Docker版本:5.15.6, tag: v5.15.6 ### 目前已部署地址 -https://edit.qicoder.com/ +https://stackedit.cn/ 该地址可以作为试用或长期使用,本人承诺绝对没采集任何人的Token等敏感信息,不需要担心私有仓库泄漏。 diff --git a/chrome-app/manifest.json b/chrome-app/manifest.json index a5013794..d2051f69 100644 --- a/chrome-app/manifest.json +++ b/chrome-app/manifest.json @@ -15,10 +15,10 @@ }, "app": { "urls": [ - "https://edit.qicoder.com/" + "https://stackedit.cn/" ], "launch": { - "web_url": "https://edit.qicoder.com/app" + "web_url": "https://stackedit.cn/app" } }, "offline_enabled": true, diff --git a/index.html b/index.html index 0b2d6255..b0021f93 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ StackEdit中文版 - + diff --git a/server/index.js b/server/index.js index 393f49e4..70071717 100644 --- a/server/index.js +++ b/server/index.js @@ -37,6 +37,8 @@ module.exports = (app) => { // Serve landing.html app.get('/', (req, res) => res.sendFile(resolvePath('static/landing/index.html'))); + // Serve privacy_policy.html + app.get('/privacy_policy.html', (req, res) => res.sendFile(resolvePath('static/landing/privacy_policy.html'))); // Serve sitemap.xml app.get('/sitemap.xml', (req, res) => res.sendFile(resolvePath('static/sitemap.xml'))); // Serve callback.html diff --git a/src/data/defaults/defaultSettings.yml b/src/data/defaults/defaultSettings.yml index 61f18fc7..6c8e4500 100644 --- a/src/data/defaults/defaultSettings.yml +++ b/src/data/defaults/defaultSettings.yml @@ -79,16 +79,16 @@ turndown: # GitHub/GitLab/Gitee/Gitea commit messages git: - createFileMessage: '{{path}} created from https://edit.qicoder.com/' - updateFileMessage: '{{path}} updated from https://edit.qicoder.com/' - deleteFileMessage: '{{path}} deleted from https://edit.qicoder.com/' + createFileMessage: '{{path}} created from https://stackedit.cn/' + updateFileMessage: '{{path}} updated from https://stackedit.cn/' + deleteFileMessage: '{{path}} deleted from https://stackedit.cn/' # Default content for new files newFileContent: | - > Written with [StackEdit](https://edit.qicoder.com/). + > Written with [StackEdit](https://stackedit.cn/). # Default properties for new files newFileProperties: | diff --git a/src/data/templates/styledHtmlTemplate.html b/src/data/templates/styledHtmlTemplate.html index adc6ec2a..d6e3b594 100644 --- a/src/data/templates/styledHtmlTemplate.html +++ b/src/data/templates/styledHtmlTemplate.html @@ -5,7 +5,7 @@ {{files.0.name}} - + {{#if pdf}} diff --git a/src/data/templates/styledHtmlWithTocTemplate.html b/src/data/templates/styledHtmlWithTocTemplate.html index 83b11558..3952991f 100644 --- a/src/data/templates/styledHtmlWithTocTemplate.html +++ b/src/data/templates/styledHtmlWithTocTemplate.html @@ -5,7 +5,7 @@ {{files.0.name}} - + {{#if pdf}} diff --git a/static/landing/index.html b/static/landing/index.html index 209dd4aa..c0fe986c 100644 --- a/static/landing/index.html +++ b/static/landing/index.html @@ -3,7 +3,7 @@ StackEdit中文版 – 浏览器内 Markdown 编辑器 - + @@ -13,7 +13,7 @@ - + + + +

隐私权政策

+
+ 【StackEdit中文版】(以下简称“此站”)深知个人信息对您的重要性, 故不会特意收集个人信息。 +
+
+ 请在使用我们的产品(或服务)前,仔细阅读并了解本《隐私权政策》。 +
+
+ 一、我们不会收集个人文档信息 +
+
+ 个人文档都是存储在第三方,此站仅仅是通过前端缓存的token来获取或保存文档到第三方,并不会在本站后端保存用户的任何文档信息。 +
+
+ 二、我们不会收集个人第三方的Token或用户信息 +
+
+ 本站不存在注册行为,不会收集个人信息,但是为了正常从第三方把Markdown文档读取或写入,有时需要借助本站后端获取第三方网站Token信息再返回给前端,但是本站承诺绝不会收集个人第三方网站的Token信息,只会在后端获取到之后返回给本站前端供前端使用。 +
+
+ 三、如何联系我们 +
+
+ 如果您对本隐私政策有任何疑问、意见或建议,通过以下方式与我们联系: +
+
+ 邮箱:【mafgwo@163.com】 +
+
+ 微信:【qicoding】 +
+
+ 一般情况下,我们将在一周内回复。 +
+ + \ No newline at end of file diff --git a/static/sitemap.xml b/static/sitemap.xml index 0b1b860c..45263361 100644 --- a/static/sitemap.xml +++ b/static/sitemap.xml @@ -1,12 +1,12 @@ - https://edit.qicoder.com/ + https://stackedit.cn/ weekly 1.0 - https://edit.qicoder.com/app + https://stackedit.cn/app weekly 1.0 @@ -16,7 +16,7 @@ 0.8 - https://edit.qicoder.com/privacy_policy.html + https://stackedit.cn/privacy_policy.html monthly 0.6