Graylog2 / Graylog2/graylog2-server
Error when loading `assets/mode-pipeline.js` for pipeline source code editor.
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## Description
When opening the source code editor for a pipeline rule, the following browser console error occurs in production:
```
Refused to execute script from '/assets/mode-pipeline.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
```
In the dev environment the console error is:
```
Uncaught SyntaxError: Unexpected token '<' (at mode-pipeline.js:1:1)
```
In both cases the JS file contains HTML. I just checked it for development, but the related JS code is still being executed.
## Your Environment
* Graylog Version: dev version for `5.2`, error occurs also with `5.1` and `5.0`
Contributor guide
Assessment
This issue has not been assessed yet.