Fix problematic Hookshot redirect for /hookshot/widgetapi/v1/static
Hookshot wants a trailing slash for this route. If we let Hookshot redirect, it goes to `/widgetapi/v1/static/`, instead of `/hookshot/widgetapi/v1/static/`, so we take this matter into our own hands.
This commit is contained in:
@ -203,7 +203,7 @@ matrix_hookshot_widgets_disallowedIpRanges: '' # noqa var-naming
|
||||
matrix_hookshot_widgets_internal: "/widgetapi"
|
||||
matrix_hookshot_widgets_hostname: "{{ matrix_hookshot_public_hostname }}"
|
||||
matrix_hookshot_widgets_endpoint: "{{ matrix_hookshot_public_endpoint }}{{ matrix_hookshot_widgets_internal }}"
|
||||
matrix_hookshot_widgets_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_widgets_endpoint }}/v1/static" # noqa var-naming
|
||||
matrix_hookshot_widgets_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_widgets_endpoint }}/v1/static/" # noqa var-naming
|
||||
matrix_hookshot_widgets_branding_widgetTitle: "Hookshot Configuration" # noqa var-naming
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user