Skip to content

Commit dd9d130

Browse files
authored
Merge pull request #4 from Reaper622/dev
添加备案信息 与 HTTPS 支持
2 parents a39303e + 650965d commit dd9d130

File tree

9 files changed

+2332
-2280
lines changed

9 files changed

+2332
-2280
lines changed

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@
1111
.DS_Store
1212

1313
# 配置文件
14-
config.js
14+
config.js
15+
16+
# 文章
17+
/articles
18+
19+
# ssl 证书
20+
/server/ssl

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"path": "https://github.com/LumiereXyloto"
1010
}
1111
],
12-
"server_url": "http://127.0.0.1:4000"
12+
"server_url": "https://reaperlee.cn:4000"
1313
}

config/webpack.common.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const commonConfig = {
7878
}),
7979
new HtmlWebpackPlugin({
8080
template: 'public/index.html',
81-
favicon: 'public/favicon.ico'
81+
favicon: 'public/favicon.ico',
8282
}),
8383
// 拷贝的静态资源不做打包处理
8484
new CopyWebpackPlugin([{
@@ -89,6 +89,10 @@ const commonConfig = {
8989
// 忽略拷贝指定的文件
9090
// ignore: ['.*']
9191

92+
},
93+
{
94+
from: path.resolve(__dirname, '../public/manifest.json'),
95+
to: path.resolve(__dirname, '../dist'),
9296
}])
9397
],
9498
output: {

0 commit comments

Comments
 (0)