Skip to content

backend-url setting gets corrupted somehow #4

@HebaruSan

Description

@HebaruSan

Description (What went wrong?):

OpenDock loads to a large loading animation and stays that way:

image

If I open the dev tools and delete the div containing that graphic, the page content is there but (unsurprisingly) not initialized:

image

Reproduction Steps (What did you do?):

Set these in config.php across different tests:

        'backend-url' => 'http://127.0.0.1:5000/',
        'backend-url' => 'https://127.0.0.1:5000/',

Expected Behavior (What do you think should have happened instead?):

Presumably the loading screen should only be visible for a few seconds or less.

Environment (OS/Browser/Plugins/etc):

  • Ubuntu
  • Chromium

Extra Information (Screenshots/Error Messages/Javascript Console Output):

Several errors show up in the browser console with invalid URLs that are apparent perversions of the configured backend-url. It looks like the first colon is spliced out, and then http:// is added to the beginning:

With http://127.0.0.1:5000/:

image

With https://127.0.0.1:5000/:

image

Maybe the setting isn't actually supposed to be a URL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions