You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4
Original file line number
Diff line number
Diff line change
@@ -49,3 +49,7 @@ yarn start:app
49
49
This will start the normal create-react-app dev server and open your app at `http://localhost:3000`.
50
50
51
51
Local in-app requests to the relative path `/.netlify/functions/*` will automatically be proxied to the local functions dev server.
52
+
53
+
## Service Worker
54
+
55
+
The service worker does not work with lambda functions out of the box. It prevents calling the function and returns the app itself instead ([Read more](https://github.com/facebook/create-react-app/issues/2237#issuecomment-302693219)). To solve this you have to eject and enhance the service worker configuration in the webpack config. Whitelist the path of your lambda function and you are good to go.
0 commit comments