Inability to use exported documentation (redundant /
symbol at the beginning of assets URLs )
#48
Labels
/
symbol at the beginning of assets URLs )
#48
Describe the bug
Exported documentation (HTML/CSS/JS files) has a redundant
/
symbol at the beginning of assets URLs which leads to inability to use it.To Reproduce
Steps to reproduce the behavior:
php artisan enlighten:export
command, set any directory and URL.index.html
in the browser ( or host it on the server and open it via URL )Expected behavior
Ability to set any base URL for the exported docs, it might be
localhost
,https://whatever.com
or./
.Hosted on the server or locally files should work like on Laravel.
Screenshots
![Screen Shot 2021-01-12 at 14 36 03](https://user-images.githubusercontent.com/12497279/104315360-82945280-54e3-11eb-9f17-efd9a5a61b63.png)
![Screen Shot 2021-01-12 at 14 36 24](https://user-images.githubusercontent.com/12497279/104315396-8de77e00-54e3-11eb-82e8-6cd00e837a6a.png)
The text was updated successfully, but these errors were encountered: