1
The flask is returning me the following error:
127.0.0.1 - - [13/Jun/2019 22:55:07] "GET /destino/17 HTTP/1.1" 200 -
127.0.0.1 - - [13/Jun/2019 22:55:07] "GET /static/css/bootstrap/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [13/Jun/2019 22:55:07] "GET /static/css/bootstrap/dataTables.bootstrap4.min.css HTTP/1.1" 304 -
127.0.0.1 - - [13/Jun/2019 22:55:07] "GET /static/css/gaia/main.css HTTP/1.1" 304 -
Follow my HTML:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<!--<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap/bootstrap-reboot.min.css') }}">-->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap/bootstrap.min.css') }}">
<!--<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap/bootstrap-grid.min.css') }}">-->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap/dataTables.bootstrap4.min.css') }}">
<!-- Ga.IA -->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/gaia/main.css') }}">
<title>Ga.IA</title>
</head>
<body>
<div class="container">
{% block content %}
{% endblock %}
</div>
<footer class="footer">
<p class="navbar-brand">Versão: {{ sistema['versao'] }} - 2019 (c) - Bruno La Porta</p>
</footer>
<!-- jQuery primeiro, depois Popper.js, depois Bootstrap JS -->
<script type="text/plain" src="{{ url_for('static', filename='js/jquery/jquery-3.4.1.min.js') }}"></script>
<script type="text/plain" src="{{ url_for('static', filename='js/jquery/jquery.mask.min.js') }}"></script>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>-->
<script type="text/plain" src="{{ url_for('static', filename='js/bootstrap/bootstrap.min.js') }}"></script>
<!-- DataTable -->
<script type="text/plain" src="{{ url_for('static', filename='js/jquery/jquery.dataTables.min.js') }}"></script>
<script type="text/plain" src="{{ url_for('static', filename='js/bootstrap/dataTables.bootstrap4.min.js') }}"></script>
<!-- Sweet Alert -->
<script type="text/plain" src="{{ url_for('static', filename='js/sweet_alert/sweetalert.min.js') }}"></script>
<!-- Ga.IA -->
<script type="text/plain" src="{{ url_for('static', filename='js/gaia/main.js') }}"></script>
<script type="text/plain" src="{{ url_for('static', filename='js/gaia/usuario.js') }}"></script>
<script type="text/plain" src="{{ url_for('static', filename='js/gaia/cliente.js') }}"></script>
</body>
</html>
Note
The scripts
javascriptshould look liketype="text/plain", otherwise they would return the sameerror. I’ve tried using thetypein thecssand even removing all but the kind oferroris the same.

Bruno, you tried to clear your browser’s full cache?
– user148754
@THIAGODEBONIS I tried to open in another browser clean, error persisted.
– bruno101
Just to ensure try to do a thorough cleaning and after cleaning you press
CTRL + Rwhich is the same asF5, then you tell me if you persist.– user148754
@THIAGODEBONIS, just made, they are returning correctly, however I opened the browser console, it is returning me an error on
JQueryand when I try to access a page it accuses error inbootstrap.min.js.– bruno101
Bruno, post this one
errorin your question, so it becomes easier to help you. So theerrorcurrent of the pegunta no longer has right?– user148754
@THIAGODEBONIS, I will ask a further question concerning
jsand the errors that occur, because it was working, I changed only thetypeof the links and that’s it, started the problem with the cache and now with thebootstrapandjquery, and these were not solved with this cache cleaning, thank you very much for the tips and the layout, I will open a new question and reference this.– bruno101
I understand, I’ll help you with the next question. Since I was the one who contacted you, I answered your question after this, if you think it right, could you consider the same as the right one and give me a score in it? This is clear if you consider that it is really the right one..
– user148754