.env for the server url?
I get this error:
index-_weD9yLX.js:990 Mixed Content: The page at 'https://mydomain.pt/' was loaded over HTTPS, but requested an insecure resource 'http://192.168.1.157:3000/graphql'. This request has been blocked; the content must be served over HTTPS.
But I already changed the envs for https://mydomain.pt why is it trying to connect with http://192.168.1.157 ?
28 Replies
Did you also change the backendurl(REACT_APP_SERVER_BASE_URL) in the frontend env?
Yeah that was it!
Should have been in the docs....
Its actually in the docs 😉 https://twenty.com/developers/section/self-hosting/self-hosting-var
My bad! I tought the frontend was depecrated and now it was just the server xD
Can u help with another thing, was envs do I need to set up calendar ?
I'm using:
MESSAGING_PROVIDER_GMAIL_ENABLED true
CALENDAR_PROVIDER_GOOGLE_ENABLED true
AUTH_GOOGLE_APIS_CALLBACK_URL https://mydomain.pt/auth/google-apis/get-access-token
Do you have a running worker?
Twenty offers integrations with Gmail and Google Calendar. To enable these features, you need to connect to register the following recurring jobs:
from your worker container
yarn command:prod cron:messaging:messages-import
yarn command:prod cron:messaging:message-list-fetch
I ran this comands on my worker pod
after or before connecting my google account ? whats best?
they are recurrent jobs so after connecting i think
maybe I'm running them in the wrong folder?
![No description](https://cdn.answeroverflow.com/1255968086834675867/image.png)
a bunch of green line xD looks good I would assume
![No description](https://cdn.answeroverflow.com/1255968461084033125/image.png)
looks ok
still
![No description](https://cdn.answeroverflow.com/1255968799522422834/image.png)
I managed to choose my google account and connect ok trough the google auth screen
But this seems more like a google permission problem
oh
but after login I authorized calendar and all that
that it asked