Hello everyone
I have a little problem when loading css files etc.
I load a php-Page by with dispatch('/testpage', 'getTestpage'); and require my page in the getTestpage function.
Now I request a css file in my page, like this: <link rel="stylesheet" href="css/styles.css"/>
For testing purposes, I implemented this:
dispatch('**/*.css', 'getCSS');
function getCSS() {
Now, I type in my url in the browser:
-> I get /testpage/css/styles.css
-> I get /css/styles.css
I expect to get the same URL in both cases. Am I doing something wrong?
Thanks in advance
Leo