diff --git a/README.md b/README.md index 3981667ad..d125a9931 100644 --- a/README.md +++ b/README.md @@ -159,9 +159,9 @@ auto-editor --margin --help ## Articles - [How to Install Auto-Editor](https://auto-editor.com/installing) - - [All the Options (And What They Do)](https://auto-editor.com/options) + - [All the Options (And What They Do)](https://auto-editor.com/ref/options) - [Docs](https://auto-editor.com/docs) - - [Blog](https://auto-editor.com/blog) + - [Blog](https://basswood-io.com/blog/) ## Copyright Auto-Editor is under the [Public Domain](https://github.com/WyattBlue/auto-editor/blob/master/LICENSE) and includes all directories besides the ones listed below. Auto-Editor was created by [these people.](https://auto-editor.com/blog/thank-you-early-testers) diff --git a/docs/server.js b/docs/server.js index 0c4320d42..53c6c2e0a 100644 --- a/docs/server.js +++ b/docs/server.js @@ -9,16 +9,12 @@ app.get("/app/*", (req, res) => { res.redirect(301, `https://app.auto-editor.com${newPath}`); }); -app.get("/blog/*", (req, res) => { - console.log(req.path); +app.get("/blog*", (req, res) => { res.redirect(301, `https://basswood-io.com${req.path}`); }); app.get("/options", (req, res) => { - let options = { - headers: {"Content-Type": "text/html"} - }; - res.sendFile(path.join(__dirname, "public/ref/options"), options); + res.redirect(301, "https://basswood-io.com/ref/options"); }); app.use(express.static("public", {