{"id":1400,"date":"2024-06-02T22:43:27","date_gmt":"2024-06-02T22:43:27","guid":{"rendered":""},"modified":"2024-06-05T06:12:19","modified_gmt":"2024-06-04T22:12:19","slug":"vuepress-%e5%8d%9a%e5%ae%a2%e5%a6%82%e4%bd%95%e5%bc%80%e5%90%af%e6%9c%ac%e5%9c%b0-https-%e8%ae%bf%e9%97%ae","status":"publish","type":"post","link":"https:\/\/www.lccc.top\/?p=1400","title":{"rendered":"VuePress \u535a\u5ba2\u5982\u4f55\u5f00\u542f\u672c\u5730 HTTPS \u8bbf\u95ee"},"content":{"rendered":"<td class=\"d-block comment-body markdown-body  js-comment-body\">\n<h2 dir=\"auto\">\u524d\u8a00<\/h2>\n<p dir=\"auto\">\u5728 <a href=\"https:\/\/github.com\/mqyqingfeng\/Blog\/issues\/235\" data-hovercard-type=\"issue\" data-hovercard-url=\"\/mqyqingfeng\/Blog\/issues\/235\/hovercard\">\u300a\u4e00\u7bc7\u5e26\u4f60\u7528 VuePress + Github Pages \u642d\u5efa\u535a\u5ba2\u300b<\/a>\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 VuePress \u642d\u5efa\u4e86\u4e00\u4e2a\u535a\u5ba2\uff0c\u6700\u7ec8\u7684\u6548\u679c\u67e5\u770b\uff1a<a href=\"http:\/\/ts.yayujs.com\/\" rel=\"nofollow\">TypeScript \u4e2d\u6587\u6587\u6863<\/a>\u3002<\/p>\n<p dir=\"auto\">\u5982\u679c\u6211\u4eec\u5728\u672c\u5730\u8fd0\u884c\u9879\u76ee\uff0c\u8fd0\u884c\u5730\u5740\u7c7b\u4f3c\u4e8e<code class=\"notranslate\">http:\/\/localhost:8080\/learn-typescript\/<\/code>\uff0c\u4ee5  http \u5f00\u5934\uff0c\u8fd9\u5728\u5927\u90e8\u5206\u65f6\u5019\u90fd\u6ee1\u8db3\u4e86\u9700\u8981\uff0c\u4f46\u6709\u7684\u65f6\u5019\uff0c\u6bd4\u5982\u517c\u5bb9 PWA\uff0c\u5c31\u9700\u8981\u4ee5 https \u5f00\u5934\uff0c\u90a3\u6211\u4eec\u5982\u4f55\u5728\u672c\u5730\u4f7f\u7528 https \u5730\u5740\u5462\uff1f<\/p>\n<h2 dir=\"auto\">\u5f00\u542f HTTPS<\/h2>\n<p dir=\"auto\">\u5728 VuePress \u5b98\u65b9\u6587\u6863\u91cc\uff0c\u6211\u4eec\u5e76\u6ca1\u6709\u641c\u5230\u76f4\u63a5\u7684\u7b54\u6848\uff0c\u4f46\u6211\u4eec\u53ef\u4ee5\u5728 StackOverflow  \u641c\u5230\u4e00\u4e2a<a href=\"https:\/\/stackoverflow.com\/questions\/62977236\/vuepress-how-can-i-use-https-in-dev-server\" rel=\"nofollow\">\u56de\u7b54<\/a>\uff0c\u5176\u5b9e\u53ef\u4ee5\u76f4\u63a5\u5728 <code class=\"notranslate\">config.js<\/code>\u6dfb\u52a0\uff1a<\/p>\n<div class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"module.exports = {\n  devServer: {\n    https: true\n  }\n}\"><\/p>\n<pre class=\"notranslate\"><span class=\"pl-smi\">module<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-c1\">exports<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\n  <span class=\"pl-c1\">devServer<\/span>: <span class=\"pl-kos\">{<\/span>\n    <span class=\"pl-c1\">https<\/span>: <span class=\"pl-c1\">true<\/span>\n  <span class=\"pl-kos\">}<\/span>\n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n<p dir=\"auto\">\u6211\u4eec\u8bd5\u4e00\u4e0b\uff0c\u8bbf\u95ee\u5730\u5740\uff0c\u4f1a\u51fa\u73b0\u4e0d\u5b89\u5168\u63d0\u793a\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/456ce2813c651a8124d0a4f1fe1c1468e86b1e31.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/456ce2813c651a8124d0a4f1fe1c1468e86b1e31.jpg\" alt=\"\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/a2646eb206c64e59bd975f6a34cb0cae~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">\u6211\u4eec\u70b9\u51fb \u300c\u9ad8\u7ea7\u300d\u91cc\u7684 \u300c\u7ee7\u7eed\u524d\u5f80localhost\uff08\u4e0d\u5b89\u5168\uff09\u300d\uff0c\u53ef\u4ee5\u8bbf\u95ee\u5230\u9875\u9762\uff0c\u53ea\u662f\u5730\u5740\u680f\u4f1a\u663e\u793a\u4e00\u4e2a\u201c\u4e0d\u5b89\u5168\u201d\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/b043b693c810f96f02addd842e309b8f8134532e.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/b043b693c810f96f02addd842e309b8f8134532e.jpg\" alt=\"\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/6b998e00d59a49629a51d9610064a4cd~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<h2 dir=\"auto\">HTTPS \u539f\u7406<\/h2>\n<p dir=\"auto\">\u60f3\u60f3\u786e\u5b9e\u5982\u6b64\uff0c\u6211\u4eec\u90fd\u6ca1\u6709 SSL \u8bc1\u4e66\uff0c\u600e\u4e48\u5c31\u80fd\u5224\u65ad\u4e3a\u5b89\u5168\u8fde\u63a5\u5462\uff1f\u200b<\/p>\n<p dir=\"auto\">\u90a3\u5982\u4f55\u624d\u80fd\u8ba9\u6d4f\u89c8\u5668\u5224\u65ad\u4e3a\u5b89\u5168\u8fde\u63a5\u5462\uff1f\u6211\u4eec\u5148\u7b80\u5355\u590d\u4e60\u4e00\u4e0b HTTPS \u7684\u539f\u7406\uff1a<\/p>\n<p dir=\"auto\">\u9996\u5148\u662f CA\uff0c\u82f1\u6587\u5168\u79f0\uff1aCertificate Authority\uff0c\u4e2d\u6587\u7ffb\u8bd1\u4e3a\uff1a\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1\u673a\u6784\uff0c\u662f\u8d1f\u8d23\u53d1\u653e\u548c\u7ba1\u7406\u6570\u5b57\u8bc1\u4e66\u7684\u6743\u5a01\u673a\u6784\uff0c\u662f\u53d7\u5230\u4fe1\u4efb\u7684\u7b2c\u4e09\u65b9\u673a\u6784\u3002\u7535\u8111\u7cfb\u7edf\u3001\u6d4f\u89c8\u5668\u91cc\u4f1a\u5185\u7f6e CA \u9881\u53d1\u7684\u6839\u8bc1\u4e66\u3002<\/p>\n<p dir=\"auto\">\u7136\u540e\u662f HTTPS \u5efa\u7acb\u7684\u8fc7\u7a0b\uff0c\u5f53\u5ba2\u6237\u7aef\u5411\u670d\u52a1\u7aef\u53d1\u8d77\u4e00\u4e2a HTTPS \u8fde\u63a5\u7684\u65f6\u5019\uff0c\u670d\u52a1\u5668\u4f1a\u5c06\u81ea\u5df1\u7684\u8bc1\u4e66\u53d1\u7ed9\u5ba2\u6237\u7aef\uff0c\u8bc1\u4e66\u4e2d\u5305\u542b\u516c\u94a5\uff0c\u5ba2\u6237\u7aef\u4f1a\u5bfb\u627e\u662f\u5426\u6709\u8fd9\u4e2a\u8bc1\u4e66\u7b7e\u53d1\u7684 CA \u7684\u6839\u8bc1\u4e66\uff0c\u5982\u679c\u6709\uff0c\u518d\u5bf9\u8bc1\u4e66\u8fdb\u884c\u89e3\u5bc6\u9a8c\u8bc1\uff0c\u9632\u6b62\u8bc1\u4e66\u88ab\u7be1\u6539\uff0c\u5982\u679c\u901a\u8fc7\uff0c\u5ba2\u6237\u7aef\u4f1a\u751f\u6210\u4e00\u4e2a\u968f\u673a\u4e32\uff0c\u7136\u540e\u4f7f\u7528\u670d\u52a1\u5668\u8bc1\u4e66\u4e2d\u7684\u516c\u94a5\u8fdb\u884c\u52a0\u5bc6\uff0c\u7136\u540e\u53d1\u9001\u7ed9\u670d\u52a1\u5668\uff0c\u670d\u52a1\u5668\u5229\u7528\u79c1\u94a5\u8fdb\u884c\u5bf9\u8fd9\u4e2a\u5bc6\u6587\u8fdb\u884c\u89e3\u5bc6\uff0c\u5f97\u5230\u968f\u673a\u4e32\uff0c\u7136\u540e\u4e24\u7aef\u4f7f\u7528\u8fd9\u4e2a\u968f\u673a\u503c\u8fdb\u884c\u52a0\u5bc6\u901a\u4fe1\u3002<\/p>\n<p dir=\"auto\">\u6240\u4ee5\u5bf9\u4e8e\u670d\u52a1\u5668\u6765\u8bf4\uff0c\u9700\u8981\u6709\u4e24\u4e2a\u4e1c\u897f\uff0c\u4e00\u4e2a\u662f\u5305\u542b\u516c\u94a5\u7684\u670d\u52a1\u5668\u8bc1\u4e66\uff0c\u4e00\u4e2a\u662f\u79c1\u94a5\u3002<\/p>\n<p dir=\"auto\">\u5bf9\u4e8e\u5ba2\u6237\u7aef\u6765\u8bf4\uff0c\u5219\u9700\u8981 CA \u6839\u8bc1\u4e66\u3002<\/p>\n<h2 dir=\"auto\">mkcert<\/h2>\n<p dir=\"auto\">\u4e3a\u4e86\u5b9e\u73b0\u672c\u5730 HTTPS \u8fde\u63a5\uff0c\u6211\u4eec\u53ef\u4ee5\u501f\u52a9 <a href=\"https:\/\/github.com\/FiloSottile\/mkcert\">mkcert<\/a> \u8fd9\u4e2a\u5de5\u5177\u6765\u5b9e\u73b0\u8bc1\u4e66\u7684\u914d\u7f6e\uff1a<\/p>\n<blockquote>\n<p dir=\"auto\">mkcert \u662f\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u672c\u5730\u4fe1\u4efb\u7684\u5f00\u53d1\u8bc1\u4e66\u7684\u4fbf\u6377\u5de5\u5177\u3002\u5728\u672c\u5730\u5f00\u53d1\u73af\u5883\u4e2d\u4f7f\u7528\u771f\u5b9e\u7684CA\uff08Certificate Authority\uff0c\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff09\u7b7e\u53d1\u7684\u8bc1\u4e66\uff0c\u662f\u975e\u5e38\u56f0\u96be\u7684\uff0c\u7279\u522b\u662f\u5bf9\u4e8e\u50cf example.net\u3001localhost \u6216\u8005 127.0.0.1 \u8fd9\u6837\u7684\u4e3b\u673a\u6765\u8bf4\uff0c\u4f7f\u7528\u771f\u5b9e\u7684CA\u7b7e\u53d1\u7684\u8bc1\u4e66\u662f\u4e0d\u53ef\u80fd\u7684\u3002\u5728\u8fd9\u6837\u7684\u60c5\u51b5\u4e0b\uff0c\u81ea\u7b7e\u53d1\u7684\u8bc1\u4e66\u53ef\u80fd\u662f\u552f\u4e00\u7684\u9009\u62e9\u3002mkcert \u53ef\u4ee5\u751f\u6210\u81ea\u7b7e\u53d1\u7684\u8bc1\u4e66\uff0c\u5e76\u628a\u672c\u5730 CA \u5b89\u88c5\u5230\u7cfb\u7edf\u6839\u8bc1\u4e66\u5e93\u4e2d\u3002<\/p>\n<\/blockquote>\n<h3 dir=\"auto\">1. \u5b89\u88c5 mkcert<\/h3>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"brew install mkcert\">\n<pre class=\"notranslate\">brew install mkcert<\/pre>\n<\/div>\n<h3 dir=\"auto\">2. \u521b\u5efa\u672c\u5730 CA<\/h3>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"mkcert -install\">\n<pre class=\"notranslate\">mkcert -install<\/pre>\n<\/div>\n<p dir=\"auto\">\u751f\u6210\u540e\uff0c\u5728 Mac \u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 \u300c\u94a5\u5319\u4e32\u8bbf\u95ee\u300d\u67e5\u770b\u5230\u8fd9\u4e2a\u8bc1\u4e66\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/474eb2dc12d708b1ffec8a9aea18975105177752.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/474eb2dc12d708b1ffec8a9aea18975105177752.jpg\" alt=\"\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/aaaf5cc1edd54c7489cf32d79072be7c~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<h3 dir=\"auto\">3. \u751f\u6210\u8bc1\u4e66<\/h3>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"mkcert localhost 127.0.0.1\">\n<pre class=\"notranslate\">mkcert localhost 127.0.0.1<\/pre>\n<\/div>\n<p dir=\"auto\">\u8fd9\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u751f\u6210\u4e24\u4e2a\u8bc1\u4e66\u6587\u4ef6\uff1a<code class=\"notranslate\">localhost+1-key.pem<\/code> \u548c <code class=\"notranslate\">localhost+1.pem<\/code>\uff0c\u5176\u4e2d <code class=\"notranslate\">localhost+1.pem<\/code>\u5c31\u662f\u670d\u52a1\u7aef\u8bc1\u4e66\uff0c<code class=\"notranslate\">localhost+1-key.pem<\/code>\u5c31\u662f\u79c1\u94a5\u3002\u200b<\/p>\n<h3 dir=\"auto\">4. \u4fee\u6539 config.js<\/h3>\n<p dir=\"auto\">\u7136\u540e\u6211\u4eec\u5c06\u8fd9\u4e24\u4e2a\u6587\u4ef6\u62f7\u8d1d\u5230 <code class=\"notranslate\">config.js<\/code> \u6587\u4ef6\u7684\u540c\u7ea7\u76ee\u5f55\u91cc\uff0c\u7136\u540e\u4fee\u6539 <code class=\"notranslate\">config.js<\/code>\uff1a<\/p>\n<div class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"const fs = require('fs')\nconst path = require('path');\n\nmodule.exports = {\n    devServer: {\n        https: true,\n        key: fs.readFileSync(path.resolve(__dirname, '.\/localhost+1-key.pem')),\n        cert: fs.readFileSync(path.resolve(__dirname, '.\/localhost+1.pem'))\n  }\n}\"><\/p>\n<pre class=\"notranslate\"><span class=\"pl-k\">const<\/span> <span class=\"pl-s1\">fs<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-en\">require<\/span><span class=\"pl-kos\">(<\/span><span class=\"pl-s\">'fs'<\/span><span class=\"pl-kos\">)<\/span>\n<span class=\"pl-k\">const<\/span> <span class=\"pl-s1\">path<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-en\">require<\/span><span class=\"pl-kos\">(<\/span><span class=\"pl-s\">'path'<\/span><span class=\"pl-kos\">)<\/span><span class=\"pl-kos\">;<\/span>\n\n<span class=\"pl-smi\">module<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-c1\">exports<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\n    <span class=\"pl-c1\">devServer<\/span>: <span class=\"pl-kos\">{<\/span>\n        <span class=\"pl-c1\">https<\/span>: <span class=\"pl-c1\">true<\/span><span class=\"pl-kos\">,<\/span>\n        <span class=\"pl-c1\">key<\/span>: <span class=\"pl-s1\">fs<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-en\">readFileSync<\/span><span class=\"pl-kos\">(<\/span><span class=\"pl-s1\">path<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-en\">resolve<\/span><span class=\"pl-kos\">(<\/span><span class=\"pl-s1\">__dirname<\/span><span class=\"pl-kos\">,<\/span> <span class=\"pl-s\">'.\/localhost+1-key.pem'<\/span><span class=\"pl-kos\">)<\/span><span class=\"pl-kos\">)<\/span><span class=\"pl-kos\">,<\/span>\n        <span class=\"pl-c1\">cert<\/span>: <span class=\"pl-s1\">fs<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-en\">readFileSync<\/span><span class=\"pl-kos\">(<\/span><span class=\"pl-s1\">path<\/span><span class=\"pl-kos\">.<\/span><span class=\"pl-en\">resolve<\/span><span class=\"pl-kos\">(<\/span><span class=\"pl-s1\">__dirname<\/span><span class=\"pl-kos\">,<\/span> <span class=\"pl-s\">'.\/localhost+1.pem'<\/span><span class=\"pl-kos\">)<\/span><span class=\"pl-kos\">)<\/span>\n  <span class=\"pl-kos\">}<\/span>\n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n<h3 dir=\"auto\">5. \u91cd\u65b0\u8fd0\u884c\u9879\u76ee<\/h3>\n<p dir=\"auto\">\u7136\u540e\u91cd\u65b0\u8fd0\u884c\u9879\u76ee\uff0c\u4f60\u5c31\u4f1a\u770b\u5230\uff1a<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/f884509008743567aef9de650443f22b5f52cbb6.jpg\"><img decoding=\"async\" src=\"\/\/www.lccc.top\/wp-content\/uploads\/pic\/mqyqingfen\/f884509008743567aef9de650443f22b5f52cbb6.jpg\" alt=\"\" data-canonical-src=\"https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/c7bb9740c96549eea97cc67f0d6185a8~tplv-k3u1fbpfcp-zoom-1.image\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">\u5982\u679c\u8bc1\u4e66\u663e\u793a\u6709\u6548\uff0c\u4f46\u4f9d\u7136\u663e\u793a\u4e0d\u5b89\u5168\u8fde\u63a5\uff0c\u6d4f\u89c8\u5668\u91cd\u542f\u6216\u8005\u5f00\u4e00\u4e2a\u9690\u79c1\u7a97\u53e3\u8bd5\u8bd5\u3002<\/p>\n<h2 dir=\"auto\">\u7cfb\u5217\u6587\u7ae0<\/h2>\n<p dir=\"auto\">\u535a\u5ba2\u642d\u5efa\u7cfb\u5217\u662f\u6211\u81f3\u4eca\u5199\u7684\u552f\u4e00\u4e00\u4e2a\u504f\u5b9e\u6218\u7684\u7cfb\u5217\u6559\u7a0b\uff0c\u9884\u8ba1 20 \u7bc7\u5de6\u53f3\uff0c\u8bb2\u89e3\u5982\u4f55\u4f7f\u7528 VuePress \u642d\u5efa\u3001\u4f18\u5316\u535a\u5ba2\uff0c\u5e76\u90e8\u7f72\u5230 GitHub\u3001Gitee\u3001\u79c1\u6709\u670d\u52a1\u5668\u7b49\u5e73\u53f0\u3002\u672c\u7bc7\u4e3a\u7b2c 22 \u7bc7\uff0c\u5168\u7cfb\u5217\u6587\u7ae0\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/mqyqingfeng\/Blog\">https:\/\/github.com\/mqyqingfeng\/Blog<\/a><\/p>\n<p dir=\"auto\">\u5fae\u4fe1\uff1a\u300cmqyqingfeng\u300d\uff0c\u52a0\u6211\u8fdb\u51b4\u7fbd\u552f\u4e00\u7684\u8bfb\u8005\u7fa4\u3002<\/p>\n<\/td>\n<p>\u6587\u7ae0\u8f6c\u8f7d\u81ea<a href='https:\/\/github.com\/mqyqingfeng\/Blog\/issues\/262'>https:\/\/github.com\/mqyqingfeng\/Blog\/issues\/262<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5728 \u300a\u4e00\u7bc7\u5e26\u4f60\u7528 VuePress + Github Pages \u642d\u5efa\u535a\u5ba2\u300b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 VuePress \u642d\u5efa\u4e86\u4e00\u4e2a\u535a\u5ba2\uff0c\u6700\u7ec8\u7684\u6548\u679c\u67e5\u770b\uff1aTypeScr&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.lccc.top\/?p=1400\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1400","post","type-post","status-publish","format-standard","hentry","category-learn"],"_links":{"self":[{"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/posts\/1400"}],"collection":[{"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lccc.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1400"}],"version-history":[{"count":1,"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/posts\/1400\/revisions"}],"predecessor-version":[{"id":1481,"href":"https:\/\/www.lccc.top\/index.php?rest_route=\/wp\/v2\/posts\/1400\/revisions\/1481"}],"wp:attachment":[{"href":"https:\/\/www.lccc.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lccc.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lccc.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}