MichaelThessel / pwx

Online password exchange service
https://pwx.michaelthessel.com
MIT License
41 stars 20 forks source link

Resources fail to load when pwx is installed in a directory #15

Closed joseluis closed 8 years ago

joseluis commented 8 years ago

When pwx is installed in a subdomain all loads fine, but when it's installed in a subfolder then the js / css files are not loaded because the app tries to load them from the root folder:

/css/style.css /js/hideShowPassword.min.js /js/jquery.zclip.min.js /js/script.js

MichaelThessel commented 8 years ago

This actually broke some functionality. The password view page itself has a relative path and wouldn't load js+css anymore. I added a baseUrl config setting. Check #21 for reference.