Skip to content

Commit

Permalink
fix(server): content-type on responding html (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Dec 12, 2023
1 parent b0dafe2 commit 7ad8e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 7ad8e27

Please sign in to comment.