From a2ec226f582a0ef066e2fca4d3bbd22bf97cd1f4 Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Sat, 1 Oct 2022 02:58:24 +0300 Subject: [PATCH] Add https://etc.ari-web.xyz/ to main config Signed-off-by: Ari Archer --- content/js/config/index.js | 6 ++++++ netlify.toml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/content/js/config/index.js b/content/js/config/index.js index 5fba1b4..de51b0d 100644 --- a/content/js/config/index.js +++ b/content/js/config/index.js @@ -114,6 +114,12 @@ const locations = { desc: "Important ari-web info", aliases: ["info", "important"], }, + + 17: { + url: "/etc", + desc: "Random ari-web pages, projects, etc.", + aliases: ["etc", "projects", "urandom"], + }, }; const escape_HTML = (str) => str.replace( diff --git a/netlify.toml b/netlify.toml index 93be44b..5ec2df6 100644 --- a/netlify.toml +++ b/netlify.toml @@ -122,6 +122,12 @@ status = 301 force = true +[[redirects]] + from = "/etc" + to = "https://etc.ari-web.xyz/" + status = 301 + force = true + #################### [[redirects]]