vbauer / manet

Website screenshot service powered by Node.js, SlimerJS and PhantomJS
MIT License
575 stars 102 forks source link

How to serve manet not at the root of a web domain? #54

Closed boogheta closed 8 years ago

boogheta commented 8 years ago

Hi,

We're trying to install Manet for use on one of our servers without having to setup a new subdomain for it nor opening a port to the whole world.

So we were basically just using apache's ReverseProxy to serve manet's port onto a url such as http://www.example.com/manet

It works perfectly for the API part, unfortunately it looks like the code for the web ui is only meant for the app to be served at the baseroot of the domain: the css and js are not found and the open button redirects to root urls

vbauer commented 8 years ago

@boogheta Hello, I hope, I've just fixed this problem. Could you please check it with the master branch? If everything is fine - just write me back and I make a new hot-fix release.

boogheta commented 8 years ago

Looks fine, yes! Thanks @vbauer !

vbauer commented 8 years ago

@boogheta No problem, you're welcome. )

boogheta commented 8 years ago

Please let me know when it is updated in npm so I can update your install which was installed using npm -g :)

vbauer commented 8 years ago

Sorry for delay, I've just released version 0.4.13.