Update domains

Guys, I did some tests by publishing a docker on my local network. Now I linked a DNS and wanted to send my bot to some friends to see. The viewer is working, the builder is working too, but the bot presents errors due to referencing the local IP of the network. Even after publishing a bot, the link presented in "Your typebot link" presents the local IP for access. The only thing I did was update the URLs in the .env and rebuild my docker images. Is there any reference in the database?
3 Replies
hiagosilvas
hiagosilvas2mo ago
The settings tab also does not access, it tries to call startChat in the viewer with local IP.
Baptiste
Baptiste2mo ago
Check your NEXT_PUBLIC_VIEWER_URL this needs to hold your domain, not IP address
hiagosilvas
hiagosilvas2mo ago
@Baptiste It was correct, I believe it could be something related to the cache. I did a SQL dump of the database and didn't find anything that referenced it. The strange thing is that I tried to log in to the anonymous tab and it still showed up, all this after I destroyed the containers and recreated them. After a while I accessed it again and the address was correct. I honestly didn't understand why, but now it's ok.