Files are served as html instead of plaintext

Created on 5 June 2024, 26 days ago
Updated 6 June 2024, 25 days ago

Problem/Motivation

This module has been serving the ads.txt and robots.txt files as content type html on my site, which is causing issues.

Steps to reproduce

Set an ads.txt file and check the content type it's being sent as.

Proposed resolution

Hard set the content type to 'text/plain' when serving files

Remaining tasks

none

User interface changes

none

API changes

none

Data model changes

none

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom cameronwelch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024