Add deploy buttons and clean environment variables (#974)
* add render.yaml * Clean environment variables --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -198,7 +198,7 @@ export const graphqlMocks = [
|
||||
return res(
|
||||
ctx.data({
|
||||
clientConfig: {
|
||||
demoMode: true,
|
||||
signInPrefilled: true,
|
||||
debugMode: false,
|
||||
authProviders: { google: true, password: true, magicLink: false },
|
||||
telemetry: { enabled: false, anonymizationEnabled: true },
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { ApolloClient, InMemoryCache } from '@apollo/client';
|
||||
|
||||
export const mockedClient = new ApolloClient({
|
||||
uri: process.env.REACT_APP_API_URL,
|
||||
uri: process.env.REACT_APP_SERVER_BASE_URL + '/graphql',
|
||||
cache: new InMemoryCache(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user