This fixes#116 by adhering to the newer whatsapp-web.js interface and using 'window.require' instead of 'window.store'
Co-authored-by: nir <nir@severin>
window.Store was removed from whatsapp web. This piece of code was using it still.
I was now getting hit with it once #104 was merged, although I'm not sure why I wasn't earlier.
This might be a bigger issue that needs addressing here, or something that depends on whatsapp web js version
Co-authored-by: nir <nir@severin>
* feat: add reverse proxy support with configurable base path and trust proxy settings
* fix: ensure environment variables are loaded correctly in Docker
- Move dotenv config to the top of server.js
- Update docker-compose.yml to properly handle .env file
- Remove duplicate environment variables section
This ensures BASE_PATH and TRUST_PROXY work as expected in both Docker and local environments.
* refactor: remove hardcoded environment variables from docker-compose.yml
* feat: Allow host port to be configured via .env
* feat: add reverse proxy support with configurable base path and trust proxy settings
* fix: ensure environment variables are loaded correctly in Docker
- Move dotenv config to the top of server.js
- Update docker-compose.yml to properly handle .env file
- Remove duplicate environment variables section
This ensures BASE_PATH and TRUST_PROXY work as expected in both Docker and local environments.
* refactor: remove hardcoded environment variables from docker-compose.yml
* feat: add reverse proxy support with configurable base path and trust proxy settings
* fix: ensure environment variables are loaded correctly in Docker
- Move dotenv config to the top of server.js
- Update docker-compose.yml to properly handle .env file
- Remove duplicate environment variables section
This ensures BASE_PATH and TRUST_PROXY work as expected in both Docker and local environments.