discourse/plugins/discourse-narrative-bot
Loïc Guitaut 430d6308a8 FIX: Render links with subfolders properly in Discobot
Currently, some links aren’t properly built in Discobot when Discourse
is hosted in a subfolder. This is because we’re providing
`Discourse.base_url` to the Rails helpers which contains the base URL
*with* the prefix. But Rails helpers already handle this prefix so the
resulting link gets the prefix twice.

The fix is quite simple: use `Discourse.base_url_no_prefix` instead of
`Discourse.base_url`.
2023-04-17 16:53:00 +02:00
..
assets PERF: Move user-tips and narrative to per-user messagebus channels (#19773) 2023-01-30 11:48:09 +00:00
autoload/jobs DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
config Update translations (#21055) 2023-04-11 15:45:03 +02:00
db UX: Update badge icons (#20462) 2023-02-28 10:42:05 +08:00
lib/discourse_narrative_bot FIX: Render links with subfolders properly in Discobot 2023-04-17 16:53:00 +02:00
public/images
spec FIX: Render links with subfolders properly in Discobot 2023-04-17 16:53:00 +02:00
plugin.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00