This commit is contained in:
parent
0a8945a294
commit
f15282a3f9
@ -102,7 +102,7 @@ fastify.get('/e/:id', async (req, res) => {
|
|||||||
//Normal shorturls
|
//Normal shorturls
|
||||||
fastify.get('/:shortcode', async (req, res) => {
|
fastify.get('/:shortcode', async (req, res) => {
|
||||||
const shortcode = req.params.shortcode;
|
const shortcode = req.params.shortcode;
|
||||||
res.header("X-Robots-Tag","noindex, nofollow");
|
console.log(req.headers['user-agent'])
|
||||||
|
|
||||||
//This should never happen but better safe than 500
|
//This should never happen but better safe than 500
|
||||||
if (!shortcode) {
|
if (!shortcode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user