Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

siteBaseUrl option doesn't work as expected #259

Open
getbored opened this issue Mar 1, 2017 · 0 comments
Open

siteBaseUrl option doesn't work as expected #259

getbored opened this issue Mar 1, 2017 · 0 comments

Comments

@getbored
Copy link

getbored commented Mar 1, 2017

Hi! Sorry to bother you.
I've installed the latest version of private-bower.
I use the default configuration and only change "siteBaseUrl" value:

...
{
    "registryFile": "./bowerRepository.json",
    "timeout": 144000,
    "server": {
        "port": 5678,
        "hostName": null,
        "siteBaseUrl": "/private-bower"
    },
...

Maybe I'm doing something wrong, but the "siteBaseUrl" option doesn't work for me.
I got the following response when trying to reach the page via curl or browser:

[www-data@host]$ curl 127.0.0.1:5678/private-bower
Cannot GET /private-bower

At the same time I can successfully get 127.0.0.1:5678 and 127.0.0.1:5678/packages

What am I doing wrong, could someone please advice?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant