防爬虫文件调换位置

This commit is contained in:
Live 2020-06-08 20:36:18 +08:00 committed by Gitee
parent a31427127c
commit 0069750168

View File

@ -117,12 +117,12 @@ module.exports = {
} }
} }
}) })
config.optimization.runtimeChunk('single') config.optimization.runtimeChunk('single'),
},
{ {
from: path.resolve(__dirname, './public/robots.txt'),//防爬虫文件 from: path.resolve(__dirname, './public/robots.txt'),//防爬虫文件
to:'./',//到根目录下 to:'./',//到根目录下
} }
}
) )
} }
} }