add sub route
This commit is contained in:
parent
bcf6a0589b
commit
155307127c
@ -58,6 +58,10 @@ module.exports = withPlausibleProxy()({
|
|||||||
{
|
{
|
||||||
source: '/.well-known/lnurlp/:username',
|
source: '/.well-known/lnurlp/:username',
|
||||||
destination: '/api/lnurlp/:username'
|
destination: '/api/lnurlp/:username'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: '/$:sub',
|
||||||
|
destination: '/$/:sub'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
3
pages/$/[sub].js
Normal file
3
pages/$/[sub].js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export default function Sub () {
|
||||||
|
return <h1>hi</h1>
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user