Skip to content

Opens on localhost:3000 disregarding the settings in default.json #9

@kseistrup

Description

@kseistrup

If there is a configuration file in ~/.config/oasis/default.json oasis-desktop will use whatever settings you have put in there:

oasis Configuration read defaults from ~/.config/oasis/default.json +0ms
oasis Listening on http://127.0.0.1:8027 +3s

This is all fine.

However, when clicking the Open Oasis button in the electron frame, it will launch the default browser with http://localhost:3000 and fail if the host or the port is different from localhost:3000.

Solution: If there is a default.json file available, the button should launch the browser accordingly and the help text beneath the button should reflect the host:port combo found in the settings file.


PS: I have only tried the prebuilt appimage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions