Fix global rewrite

This commit is contained in:
Lachlan Campbell 2020-11-06 22:27:53 +00:00
parent e59aac9789
commit 4e2d572d7a
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
<p align="center"><img width="128" alt="Hack Club logo" src="https://assets.hackclub.com/flag-standalone.svg"></p>
<p align="center"><img width="192" alt="Hack Club logo" src="https://assets.hackclub.com/flag-standalone.svg"></p>
<h1 align="center"><a href="https://hackclub.com/">Hack Club v3 Site</a></h1>
<p align="center"><i>The source code for hackclub.com</i></p>
@ -7,7 +7,7 @@ Our new website—powered by [Next.js] with [MDX], [Theme UI], & [Hack Club Them
[next.js]: https://nextjs.org
[mdx]: https://mdxjs.com
[theme ui]: https://theme-ui.com
[hack club theme]: https://github.com/hackclub/theme
[hack club theme]: https://theme.hackclub.com
Code under MIT License, assets may not be re-used or re-distributed.

View file

@ -94,8 +94,8 @@
"destination": "https://map.hackclub.dev/"
},
{
"source": "/(.*)/",
"destination": "https://site.hackclub.dev/$1/"
"source": "/(.*)",
"destination": "https://site.hackclub.dev/$1"
}
],
"github": { "silent": true }