in reply to Re: Mojolicious: Optional placeholder and template name
in thread Mojolicious: Optional placeholder and template name
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mojolicious: Optional placeholder and template name
by soonix (Chancellor) on May 21, 2019 at 10:23 UTC | |
by frazap (Monk) on May 21, 2019 at 11:43 UTC | |
by soonix (Chancellor) on May 21, 2019 at 13:22 UTC | |
|
Re^3: Mojolicious: Optional placeholder and template name
by Your Mother (Archbishop) on May 21, 2019 at 14:23 UTC |