aboutsummaryrefslogtreecommitdiff
path: root/next.config.js
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-04-23 22:04:13 +0200
committerlonkaars <loek@pipeframe.xyz>2021-04-23 22:04:13 +0200
commit5e57c1d5d174a47502eb73d3dc2391d26dc42e84 (patch)
tree436e0f78a4257b63dc9dc343613a57d31ed4a2a0 /next.config.js
parentf9944e4b5f21373ad992eae412f56ecdfc1a3496 (diff)
added /privacy rewrite to next.config.js
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js10
1 files changed, 10 insertions, 0 deletions
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'
+ }
+ ];
+ }
+}