add sub route

This commit is contained in:
keyan 2022-02-14 12:49:06 -06:00
parent bcf6a0589b
commit 155307127c
2 changed files with 7 additions and 0 deletions

View File

@ -58,6 +58,10 @@ module.exports = withPlausibleProxy()({
{
source: '/.well-known/lnurlp/:username',
destination: '/api/lnurlp/:username'
},
{
source: '/$:sub',
destination: '/$/:sub'
}
]
},

3
pages/$/[sub].js Normal file
View File

@ -0,0 +1,3 @@
export default function Sub () {
return <h1>hi</h1>
}