You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reviewing the docker console, the following error is displayed:
ActionController::RoutingError (No route matches [GET] "/en/p/wdbq1ro5qscnylnc/media/pwpush_logo_light.png")
馃敩 How To Reproduce
Steps to reproduce the behavior:
Build a custom image based off pglombardo/pwpush, with custom logos copied to the image (see dockerfile and build command below)
Run the container (see command below) and launch site
Confirm that custom logo loaded properly on the main page
Enter some password and click "Push It!"
When the "Your push has been created." page (preview view) loads, confirm that the custom logo is displayed as a broken image.
Stop container
Run new container directly from pglombardo/pwpush:release with media folder mapped (see second command below)
Confirm that custom logo loaded properly on the main page
Enter some password and click "Push It!"
When the "Your push has been created." page (preview view) loads, confirm that the custom logo is displayed as a broken image.
Code sample
Dockerfile used to build custom image:
FROM pglombardo/pwpush:release
COPY media/pwpush_logo_dark.png /opt/PasswordPusher/public/media/pwpush_logo_dark.png
COPY media/pwpush_logo_light.png /opt/PasswordPusher/public/media/pwpush_logo_light.png
Thank you for the quick response. Adding a preceding / does indeed resolve the issue. Thank you again for the assistance and I apologize for crying wolf.
馃悰 Bug Report
After clicking "Push It", the preview page (http://localhost:5100/en/p/wdbq1ro5qscnylnc/preview) is loaded but the custom logo fails to load/shows a broken image icon.
Reviewing the docker console, the following error is displayed:
ActionController::RoutingError (No route matches [GET] "/en/p/wdbq1ro5qscnylnc/media/pwpush_logo_light.png")
馃敩 How To Reproduce
Steps to reproduce the behavior:
Code sample
Dockerfile used to build custom image:
docker commands
additional docker command
Environment
Where are you running/using Password Pusher?
If applicable, what version of Password Pusher?
Tested with "release" (1.34.1) and 1.36.7
Screenshots
馃搱 Expected behavior
When a push has been created and the "Your push has been created." page (preview view) is displayed, the custom logo should load properly.
馃搸 Additional context
Although examples provided use docker running locally, the same behavior has been observed when running the container in AWS.
The text was updated successfully, but these errors were encountered: