Thanks for helping. I should be more specific:
The template common_js.html.ep (in ./templates) that load the js files isThis works when I call http:// .... :3000/libmap, but not with :3000/fr/libmap If I change the src values to<script src="monomapdata.js" type="text/javascript"></script> <script src="monomap.js" type="text/javascript"></script> <script src="utils.js" type="text/javascript"></script>
:3000/fr/libmap works. But is it the right way to do this ?<script src="../monomapdata.js" type="text/javascript"></script> <script src="../monomap.js" type="text/javascript"></script> <script src="../utils.js" type="text/javascript"></script>
Thanks
In reply to Re^2: Mojolicious: Optional placeholder and template name
by frazap
in thread Mojolicious: Optional placeholder and template name
by frazap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |