Files are served as html instead of plaintext

Created on 5 June 2024, 6 months 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

Merge Requests

Comments & Activities

Production build 0.71.5 2024