violet_rails
violet_rails copied to clipboard
'public' prefixed in asset urls for root domain
trafficstars
Describe the bug asset urls are prefixed with 'public'. Causes assets to not loaded in safari if ssl certificates are invalid or not setup properly.
To Reproduce Steps to reproduce the behavior:
- Attach a image in forum thread of a root domain
- Refresh the page
- Inspect the image element
- See 'public' being prefixed to the asset url
Expected behavior host for assets url should be same as url in the browser's address bar
Screenshots



Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Same thing happens to user invitation links.
