Skip to content

Commit

Permalink
add back favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed May 9, 2022
1 parent 53e3dec commit 9709d0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added public/favicon.ico
Binary file not shown.
9 changes: 9 additions & 0 deletions remix.init/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ async function main({ rootDirectory }) {
// get rid of anything that's not allowed in an app name
.replace(/[^a-zA-Z0-9-_]/g, "-");

// copy files
const filesToCopy = [["remix.init/gitignore", ".gitignore"]];
for (const [from, to] of filesToCopy) {
await fs.copyFile(
path.join(rootDirectory, from),
path.join(rootDirectory, to)
);
}

// update env to have SESSION_SECRET
const EXAMPLE_ENV_PATH = path.join(rootDirectory, ".env.example");
const ENV_PATH = path.join(rootDirectory, ".env");
Expand Down

0 comments on commit 9709d0a

Please sign in to comment.