jsproxy-docker
jsproxy-docker copied to clipboard
Help me pls
Hi, I followed your guide, docker and nginx are deployed and started up, this error info appeared on the home page when accessed:
Failed to register a ServiceWorker for scope ('https://my.domain.com/') with script ('https://my.domain.com/sw.js'): The script has an unsupported MIME type ('text/html').
Is there a way to fix this? THX
看这个报错是 http 返回头的 content-type 错了,js 文件的content-type 应该是 application/json。