Skip to content

Web UI v2 does not respect web_server.base_url configuration option #24

@adamrothman

Description

@adamrothman

Expected behaviour:

Asset references generated by FlexGet UI v2 should respect web_server.base_url configuration option.

Actual behaviour:

Asset references generated by FlexGet UI v2 all begin with /v2, regardless of the value of the web_server.base_url configuration option.

Steps to reproduce:

  1. Enable Web UI v2 with a non-default base_url configuration option, e.g. /flexget.
  2. Open web browser, and open developer tools.
  3. Navigate to /flexget/v2/, which appears as a blank page.
  4. Observe 404 errors for requests to paths like /v2/assets/manifest.dd611d6a01d922d6dc07.js (which should be /flexget/v2/assets/manifest.dd611d6a01d922d6dc07.js).

Config:

Must include at least this, the rest doesn't matter.

web_server:
  web_ui: yes
  base_url: /flexget
  run_v2: yes

Log:

None.

Additional information:

  • FlexGet version: 2.21.5
  • Python version: 3.7.3
  • Installation method: pip3 install flexget
  • Using daemon (yes/no): yes
  • OS and version: Alpine Linux 3.9.4
  • Link to crash log: N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions