Skip to content

Conversation

@Mahmoud1478
Copy link

i currently working on a project and i needed a lightweight analytics pan was perfect for me . i went straight forward but i had some issues the front end doesn't fire the request to send data to the server then i began to debug and find out that
the Middleware InjectJavascriptLibrary has a condition that check if the content type header is 'text/html; charset=UTF-8' but my dev server was return it 'text/html; charset=utf-8'
so i fixed it by lowercase whatever the server return and compare it to 'text/html; charset=utf-8'
pan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant