Skip to content

Commit

Permalink
chore: setup redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
learosema committed Jan 17, 2024
1 parent 01fc41f commit fee9ca9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
6 changes: 6 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
Permissions-Policy = "autoplay=(), camera=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=()"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"

[[redirects]]
from = "https://blog.lea.lgbt/*"
to = "https://lea.codes/:splat"
status = 301
force = true

[build]
command = "npm run build"
publish = "dist"
12 changes: 0 additions & 12 deletions src/assets/meta/_redirects.njk

This file was deleted.

0 comments on commit fee9ca9

Please sign in to comment.