Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add APPLICATION_ROOT to docker_settings.py #1206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HielkeJ
Copy link

@HielkeJ HielkeJ commented Nov 29, 2024

Add APPLICATION_ROOT to docker_settings.py. This way setting PUPPETBOARD_URL_PREFIX works. If APPLICATION_ROOT is not set and PUPPETBOARD_URL_PREFIX is set, every call will result in a 500 error with "IndexError: list index out of range".

This should resolve #1092

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.91%. Comparing base (b5967c3) to head (60de8de).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1206      +/-   ##
==========================================
+ Coverage   76.89%   76.91%   +0.01%     
==========================================
  Files          20       20              
  Lines        1307     1308       +1     
==========================================
+ Hits         1005     1006       +1     
  Misses        302      302              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The PUPPETBOARD_URL_PREFIX does not set flask's APPLICATION_ROOT
1 participant