Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Localhost subdomains #5

Open
Open
@pomber

Description

Hey, there's a special case where the auth is failing for me: using subdomains on localhost.
For example I use: http://gitlab.localhost:3000 in this PR.

There are a few places where you compare the location.hostname with "localhost", it fails when hostanme is something like foo.localhost. Maybe you can compare it with location.hostname.split('.').pop().

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