I've just created a website with Symfony on local and it works perfectly on, but now I send the project on my debian server but now my JS doesnt work, when I'm on my website all of my JS doesnt work. I searched on internet but I didnt found the solution.
Here my javascripts block :
{% block javascripts %}
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script type="text/javascript" src="{{ asset('/javascript/mainScript.js')}}"></script>
<script type="text/javascript" src="{{ asset('/javascript/ckeditor.js')}}"></script>
{% endblock %}
And here the error on the console :
GET https://mywebsite.fr/javascript/ckeditor.js [HTTP/1.1 404 Not Found 297ms]
****** RESOLVED ******
My folder name was "javascript", I've just rename it to "js" and works ??