Skip to content

Commit 24775cf

Browse files
committed
Add Netfifly URL
1 parent 9eddffc commit 24775cf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

netlify.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[[redirects]]
2+
from = "/*"
3+
to = "/index.html"
4+
status = 200

webpack.common.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ module.exports = {
4343
new CopyPlugin({
4444
patterns: [
4545
{ from: "src/images", to: "images" },
46-
{ from: "src/*.{js,txt,json,xml}", to: "[name].[ext]" }
46+
{ from: "src/*.{js,txt,json,xml}", to: "[name].[ext]" },
47+
{ from: "netlify.toml", to: "netlify.toml"}
4748
],
4849
}),
4950
new DefinePlugin((() => {
@@ -79,6 +80,7 @@ module.exports = {
7980
filter: (file) => {
8081
return ![
8182
'index.html',
83+
'netlify.toml',
8284
'src/manifest.json',
8385
'src/robots.txt',
8486
'src/browserconfig.xml',

0 commit comments

Comments
 (0)