Skip to content

subdomain #11

@penguine

Description

@penguine

Hi have had problems with the subdomain option.
My hostname: aa.bb.cc
my preferred subdomain yyy
so I would call the tunnel http://yyy.aa.bb.cc
actually in server.js the subdomain is yyy.aa so that the website is not accessible
I change in server.js:
// OLD if (options.subdomain) {
// subdomain = subdomain.replace(.${options.subdomain}, '');
debug("subdomain replaced: ", subdomain);
// }

to
if (options.subdomain) {
subdomain = options.subdomain;
debug("subdomain replaced: ", subdomain);
}

now I become the subdomain yyy and the website is accessible
is this a fix? or only a workaround for me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions