From 3e98cd5f76dc5da368b01a57479842a486a2cec4 Mon Sep 17 00:00:00 2001 From: Andrea Carraro Date: Thu, 12 Nov 2020 17:45:24 +0100 Subject: [PATCH] Expose /cv as server redirect --- netlify.toml | 5 +++++ source/cv/index.html | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 source/cv/index.html diff --git a/netlify.toml b/netlify.toml index 07dda62..c9834d3 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,6 +3,11 @@ functions = "lambda/" publish = "build" +[[redirects]] + from = "/cv" + to = "https://www.dropbox.com/s/eg07ouwq3lm8bqy/AndreaCarraro_cv.pdf?dl=1" + status = 200 + [dev] framework = "#custom" command = "npm run start:page" diff --git a/source/cv/index.html b/source/cv/index.html deleted file mode 100644 index 446ac99..0000000 --- a/source/cv/index.html +++ /dev/null @@ -1,4 +0,0 @@ -