Skip to content

Commit 18c9140

Browse files
committed
update config
1 parent d0a82d8 commit 18c9140

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ ok了,现在,这就是一个可以放在任何一个静态服务器上的网页
7070
你可以为每一道leetcode题目编写您自己的解题心得(也就是博客文章),如下图所示:
7171

7272
在题目的下方,会呈现你为该题编写的博客文章.
73+
7374
编写方法就是,在您爬取的源码目录下的具体的某一道题的文件夹下 建立一个`post.md`文件,并用markdown语法在里面书写你的文章.
7475

7576
**注意文件名只能是`post.md`,请勿改用其他名称**.

config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
index: path.resolve(__dirname, '../index.html'),
88
assetsRoot: path.resolve(__dirname, '../dist'),
99
assetsSubDirectory: 'static',
10-
assetsPublicPath: '/dist/',
10+
assetsPublicPath: './dist/',
1111
productionSourceMap: true,
1212
// Gzip off by default as many popular static hosts such as
1313
// Surge or Netlify already gzip all static assets for you.

0 commit comments

Comments
 (0)