Closed Mikescher closed 9 months ago
Thanks for the catch. If you'll look at index.php, you'll see that other template variables go through Route::url(), so we'll probably want to do that for current_css too, instead of adding Route::base() inside Request like you did.
Actually basedir already goes through Route::url too, so if your config changes, it will change with it :-)
In the latest version (
2.1.4
) the style-default.css cannot be resolved when directly accessing a subpage (it works wehn navigating from root to another page).The problem is the following generated html code:
The last stylesheet is relative instead of absolute specified.
My config looms like this (running on the linuxserver docker container):
The fix in this PR is to add Route::base(), to the style() method.