Skip to content

Redirect with httpRoot configuration setting #2

Description

@madmax76

When the httpRoot parameter in settings.js is set:
httpRoot: '/nodered',
GitHUB will redirect to the URL without in this case '/nodered'

When leaving the httpRoot setting default, it works fine.

I have been looking as a non programmer to this code:

    var callbackURL = opts.baseURL+
        ((opts.baseURL[opts.baseURL.length-1] === "/")?"":"/")+
"auth/strategy/callback";

Could anything be wrong there?
After clicking the github button I am redirected to:
http://localhost/auth/strategy

baseURL: "http://localhost/nodered/",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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