From 5e57c1d5d174a47502eb73d3dc2391d26dc42e84 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 23 Apr 2021 22:04:13 +0200 Subject: added /privacy rewrite to next.config.js --- next.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 next.config.js diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..07bbc7f --- /dev/null +++ b/next.config.js @@ -0,0 +1,10 @@ +module.exports = { + async rewrites() { + return [ + { + source: '/privacy', + destination: '/blog/privacy' + } + ]; + } +} -- cgit v1.2.3