改动build后index位置

dev_trainings
hjm 6 years ago
parent 57171297c1
commit c4aa30221e

@ -184,7 +184,9 @@ function generateNewIndexJsp() {
// combinedStream.append(htmlContent);
// combinedStream.pipe(fs2.createWriteStream( filePath ));
var outputPath = paths.appBuild + '/../../../app/views/common/index.html.erb'
// var outputPath = paths.appBuild + '/../../../app/views/common/index.html.erb'
var outputPath = paths.appBuild + '/../../../public/react/build/index.html'
fs2.readFile(filePath, 'utf8', function (err,data) {
if (err) {
return console.log(err);

Loading…
Cancel
Save