build this
This commit is contained in:
parent
e62fa08207
commit
e5d283162f
|
|
@ -266,7 +266,7 @@ const generateArtistPages = async (render) => {
|
|||
</body>
|
||||
</html>`;
|
||||
|
||||
const finalOutputPath = process.env.NODE_ENV === "development" ? `${original_artist_slug}.html` : original_artist_slug;
|
||||
const finalOutputPath = process.env.NODE_ENV === "development" ? `${original_artist_slug}.html` : `${original_artist_slug}.html`;
|
||||
const outputFilePath = path.join(OUTPUT_DIR, finalOutputPath);
|
||||
fs.writeFileSync(outputFilePath, fullHtml);
|
||||
console.log(`Generated: ${outputFilePath}`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue