Skip to content
Snippets Groups Projects
Unverified Commit 9e2bee07 authored by gabriellsh's avatar gabriellsh Committed by GitHub
Browse files

chore: Disable pre intent if on development environment. (#29118)

parent 356a7b10
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,10 @@ API.v1.addRoute(
return API.v1.unauthorized();
}
if (process.env.NODE_ENV === 'development') {
return API.v1.success({ offline: true });
}
return API.v1.success({ offline: !(await registerPreIntentWorkspaceWizard()) });
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment