.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
Brendan
Brendan3mo ago
Did you also change the backendurl(REACT_APP_SERVER_BASE_URL) in the frontend env?
windarrow_
windarrow_3mo ago
Yeah that was it! Should have been in the docs....
windarrow_
windarrow_3mo ago
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
Brendan
Brendan3mo ago
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
windarrow_
windarrow_3mo ago
I ran this comands on my worker pod after or before connecting my google account ? whats best?
Brendan
Brendan3mo ago
they are recurrent jobs so after connecting i think
windarrow_
windarrow_3mo ago
maybe I'm running them in the wrong folder?
windarrow_
windarrow_3mo ago
No description
windarrow_
windarrow_3mo ago
a bunch of green line xD looks good I would assume
No description
Brendan
Brendan3mo ago
looks ok
windarrow_
windarrow_3mo ago
still
No description
windarrow_
windarrow_3mo ago
I managed to choose my google account and connect ok trough the google auth screen
Brendan
Brendan3mo ago
But this seems more like a google permission problem
windarrow_
windarrow_3mo ago
oh but after login I authorized calendar and all that that it asked
Want results from more Discord servers?
Add your server