Open CarstenWalther opened 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.
localhost:3000
https://github.com/hpi-epic/pricewars-consumer/blob/57ffa3892b7721da0c48afc13692a8dd1aa9fe3f/app/controllers/setting_controller.rb#L30
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