botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
83 stars 91 forks source link

Avatar / cover image with base path #1032

Closed BPMJoannette closed 1 year ago

BPMJoannette commented 4 years ago

Bot Info images content is not resolved when using subpath in external URL

Steps to reproduce the behaviour:

  1. Open the bot Config > Avatar & Cover picture
  2. Add an avatar. If you talkwith your bot in the emulator, the avatar image is present
  3. Change your base path to /subdomain (set EXTERNAL_URL to http://localhost:3000/subdomain)
  4. Restart Botpress server
  5. Ctrl+F5 to empty browser cache
  6. Open the emulator, utter anything

Avatar image is absent. If you return to the bot configuration, the image is not listed in the settings, as if it was never there.

Expected behavior: Moving bot link to subdomain should not break image links Could not test for the cover picture, but I expect it suffers from the same issue.

Environment:

Live customer issue

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.