0
I’m mounting a wordpress site on MAMP installed in windows and scripts . JS put so on footer:
<?php wp_footer(); ?>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"
integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh"
crossorigin="anonymous"></script>
<script type="text/javascript" src="assets/js/efeitos.js">
</script>
</body>
Hence it does not work and on the console recognizes as "GET http://localhost:8888/protodesign/Assets/js/efeitos.js net:ERR_ABORTED"
On the other sites I did always worked out by putting the directory only from the Assets folder, but now it didn’t work.
what can be?