samyun / southwest-price-drop-bot

Bot that watches Southwest flights for price drops.
Other
74 stars 41 forks source link

Proxy not working when running schedule #33

Closed rbreneman closed 5 years ago

rbreneman commented 5 years ago

When running npm run task:check from the scheduler or from console it doesn't seem to be using the proxy settings. I see no connections on my proxy log. However from the app web interface, if I add a flight for the first time, or go back and edit/save, then it uses the proxy and completes the check successfully.

From the console I see Access Denied when it runs the check.

Thanks in advance for any help. This app is awesome!

GC-Guy commented 5 years ago

I submitted a PR with what I believe to be a valid fix. Good catch @rbreneman