Only send one response
This commit is contained in:
parent
f4f63e72d8
commit
1efd6ec3d3
|
@ -205,10 +205,9 @@ export const unsubscribe: EndpointDefinition = {
|
||||||
</body>
|
</body>
|
||||||
</html>`
|
</html>`
|
||||||
)
|
)
|
||||||
}
|
} else {
|
||||||
|
res.send(
|
||||||
res.send(
|
`
|
||||||
`
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||||
|
@ -389,7 +388,8 @@ export const unsubscribe: EndpointDefinition = {
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user