Skip to content

Commit

Permalink
Merge pull request #21 from alexiscolin/fix/rename-dev-page
Browse files Browse the repository at this point in the history
fix: rename dev page
  • Loading branch information
alexiscolin authored Jan 28, 2025
2 parents df41c26 + c28a920 commit e4a61a4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ fs.removeSync(outputDir);

fs.copySync(staticDir, path.join(outputDir, "static"));

const netlifyFile = path.join(rootDir, "netlify.toml");
if (fs.existsSync(netlifyFile)) {
fs.copySync(netlifyFile, path.join(outputDir, "netlify.toml"));
}

const files = fs.readdirSync(rootDir).filter((file) => path.extname(file) === ".md");

let header = loadTemplate(path.join(rootDir, "site/templates/header.html"));
Expand Down
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[redirects]]
from = "/developers"
to = "/run-node"
status = 301
force = false
File renamed without changes.

0 comments on commit e4a61a4

Please sign in to comment.