dmbf29 / predictor-api

match prediction app / back-end API built on Rails
1 stars 4 forks source link

Add Sidekiq web interface to Rails app #72

Closed trouni closed 3 years ago

trouni commented 3 years ago

Resolves #70

Protects the /sidekiq route behind BasicAuth. You can add a username and password by adding the SIDEKIQ_USERNAME and SIDEKIQ_PASSWORD env vars to Heroku.

dmbf29 commented 3 years ago

wait how does the USERNAME and PASSWORD work? just by adding it to the env it works?

dmbf29 commented 3 years ago

ah okay it asks you when you go there. got it.

trouni commented 3 years ago

Yes, they are being compared using BasicAuth in the route.