Skip to content

[fix] web server inserts base_url into webui v2#2518

Merged
kristenmills merged 1 commit intodevelopfrom
fix-webui-baseurl
Dec 7, 2019
Merged

[fix] web server inserts base_url into webui v2#2518
kristenmills merged 1 commit intodevelopfrom
fix-webui-baseurl

Conversation

@kristenmills
Copy link
Copy Markdown
Member

@kristenmills kristenmills commented Dec 5, 2019

Motivation for changes:

Webui v2 was broken if you specify a base url. This is part of the fix, Flexget/webui#43 is the rest

Detailed changes:

  • Really all that is happening is instead of spitting on html, webui webpack build generates a jinja template that will accept {{ base_url }}.
  • Also fixes an issue so that all webui paths should be using index.html. (otherwise hard refreshes don't work)

Addressed issues:

This can (and should) be merged before the webui pr as it's basically a noop on older builds of webui. The other way around is not the case.

Copy link
Copy Markdown
Member

@gazpachoking gazpachoking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me, I haven't done anything with webui in a long time though, so I'm really just trusting you. 😉

@kristenmills kristenmills merged commit 1fe58e2 into develop Dec 7, 2019
@kristenmills kristenmills deleted the fix-webui-baseurl branch December 7, 2019 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants