Support » Plugin: Super Progressive Web Apps » The script has an unsupported MIME type (‘text/js’)

  • Resolved jigneshchudasama91

    (@jigneshchudasama91)


    I am getting error in the browser console The script has an unsupported MIME type ('text/js') and also getting Registration failed with SecurityError: Failed to register a ServiceWorker for scope ('https://ceomedium.com/') with script ('https://ceomedium.com/superpwa-sw.js'): The script has an unsupported MIME type ('text/js').

    Please help me

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author SuperPWA

    (@superpwa)

    Js page is printing with Html/text header but we need javascript/text in the header. Can you please try to resolve it by providing

    header( “Content-Type: application/javascript” );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.