markeverard / POSSIBLE.RobotsTxtHandler

POSSIBLE RobotsTxtHandler is an Episerver CMS plugin that handles the delivery and modification of the robots.txt file
MIT License
6 stars 9 forks source link

Chrome console error due to wrong MIME type #13

Open mattvl opened 5 years ago

mattvl commented 5 years ago

Hi,

I've just installed the plugin and it seems to work fine, but I noticed a strange Chrome console error when I load the plugin from Episerver Admin, here the screenshot:

Screenshot_5

It only happen when I load the Manage robots.txt content panel. Am I missing some configuration or is it an actual issue?

Kind regards, Matteo

markeverard commented 5 years ago

I suspect this is related to some of the changes in the core platform. It looks like you’re running the latest version of episerver

https://world.episerver.com/blogs/ryan-bare/dates/2019/7/new-cms-ui-navigation/

I’d guess those css files that are used by the Admin plugin are no longer available in the package and are returning a 404. Chrome is complaining about the mime type of the 404 response is likely an html Page (rather than a css file)

I’d guess as well that the Admin panel styling might look a little strange.

This won’t affect the plugin functionality itself, but it is something to investigate