04-05-2023, 06:59 AM
(04-04-2023, 09:29 AM)baxing Wrote: Hi,
Thank you very much, I tested it and it works.
And if it's the case that I want to link to the css and js files inside the html file, how should I set the path?
<link href="dist/css/mystyle.min.css" rel="stylesheet" />
<script src="assets/myjs.min.js"></script>
I set above this correct or not?
How should the correct path be set?
Hi
Unfortunately, the only way I could solve this was:
in the ServerController.OnConfig event, my own algorithm modifies the routes in the content of the css/js files. (OnConfig runs only once when ServerController is started.)
The algorithm recognizes the path elements and corrects them.