mirror of
https://github.com/aljazceru/landscape-template.git
synced 2025-12-27 19:24:18 +01:00
fix: enable mocks in SB build
This commit is contained in:
@@ -22,7 +22,7 @@ import { apolloClient } from '../apollo';
|
||||
// -------------------------------------------
|
||||
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
if (process.env.REACT_APP_ENABLE_MOCKS) {
|
||||
worker.start({
|
||||
onUnhandledRequest: 'bypass'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user