mirror of
https://github.com/zoriya/flood.git
synced 2026-06-02 02:56:05 +00:00
fix(server): content-type on responding html (#708)
This commit is contained in:
@@ -64,7 +64,7 @@ const constructRoutes = async (fastify: FastifyInstance) => {
|
||||
'Cache-Control': 'no-cache, no-store, must-revalidate',
|
||||
Pragma: 'no-cache',
|
||||
Expires: '0',
|
||||
'content-type': 'html',
|
||||
'content-type': 'text/html; charset=UTF-8',
|
||||
};
|
||||
|
||||
fastify.get(`${servedPath}login`, (_req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user