Skip to content

Commit

Permalink
fix: dont copy index.html for hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
manekinekko committed Dec 14, 2019
1 parent 07c6827 commit c256d74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/features/hosting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ module.exports = async function() {

createDirectoryIfNotExists(defaultPublicFolder);

if (overrideHtml || typeof overrideHtml === "undefined") {
// copy index.html
copyTemplate(`init/hosting/index.html.tpl`, `${folder}/index.html`);
}
if (override404 || typeof override404 === "undefined") {
// copy 404.html
copyTemplate(`init/hosting/404.html.tpl`, `${folder}/404.html`);
Expand Down
2 changes: 0 additions & 2 deletions src/templates/init/hosting/index.html.tpl

This file was deleted.

0 comments on commit c256d74

Please sign in to comment.