canove / whaticket-community

A very simple Ticket System based on WhatsApp messages, that allow multi-users in same WhatsApp account.
MIT License
1.55k stars 795 forks source link

Media path wrong https://api.mydomain.com:8080/{media} #514

Closed gkp1 closed 1 year ago

gkp1 commented 1 year ago

Hello guys, everything is working normally except that media doesn't load. I noticed the file path for all media (PDF, images, videos) are being inserted with a 8080 PORT, even though it is not necessary:

https://api.mydomain.com:8080/{media} //broken https://api.mydomain.com/{media} //works

I'm just not sure which file or .env config to change for this. Would just removing the PORT from .env fix it? (I followed the whole production deploy guide)

Also I used DB_Dialect = mariadb, instead of mysql not sure if that is related (probably not since mariadb is a superset of mysql).

gkp1 commented 1 year ago

Nevermind, I corrected my PROXY_PORT to 443. 👍