React build后报错,并且无法发送请求

#1

registerServiceWorker.js:80 Error during service worker registration: DOMException: Failed to register a ServiceWorker: The URL protocol of the current origin (‘null’) is not supported.