hpi-epic / pricewars-consumer

Consumer Component of the Price Wars Platform
MIT License
0 stars 4 forks source link

Consumer sets own URL wrong #11

Open CarstenWalther opened 6 years ago

CarstenWalther commented 6 years ago

The consumer sets its URL depending from where the start request was sent. This could result in a wrong URL like localhost:3000. We need a better way to detect the consumer URL.

https://github.com/hpi-epic/pricewars-consumer/blob/57ffa3892b7721da0c48afc13692a8dd1aa9fe3f/app/controllers/setting_controller.rb#L30