Merge pull request #45 from ThomasRubini/client_socket-io-selfhost-and-credit

[Client] Self-host Socket.IO library and credit the library in the licenses page
This commit is contained in:
AudricV 2023-01-15 13:17:58 +01:00 committed by GitHub
commit 158335bb34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -121,7 +121,7 @@
</svg>
<p class="culprit_btn_text">Couplable</p>
</button>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.4.1/socket.io.min.js"></script>
<script src="/static/js/socket.io_v4.4.1/socket.io.min.js"></script>
<script src="/static/js/api.js"></script>
<script src="/static/js/game_common.js"></script>
<script src="/static/js/game.js"></script>

View File

@ -82,7 +82,7 @@
<a href="/legal" class="footer_link link" target="_blank" title="Consulter les mentions légales de Truth Inquiry (ouverture dans un nouvel onglet)">Mentions légales</a>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.4.1/socket.io.min.js"></script>
<script src="/static/js/socket.io_v4.4.1/socket.io.min.js"></script>
<script src="/static/js/api.js"></script>
<script src="/static/js/game_common.js"></script>
<script src="/static/js/game_start_page.js"></script>

View File

@ -30,6 +30,9 @@
<li class="license_item">
Flask, framework Python créé par Pallets, sous license <a href="https://github.com/pallets/flask/blob/main/LICENSE.rst" title="Voir la license BSD-3 Clause de Flask dans un nouvel onglet" target="_blank" class="legal_link">BSD-3 Clause</a>
</li>
<li class="license_item">
Socket.IO (client), bibliothèque JavaScript créée par Guillermo Rauch, sous license <a href="https://github.com/socketio/socket.io-client/blob/main/LICENSE" title="Voir la license MIT de Socket.IO (client) dans un nouvel onglet" target="_blank" class="legal_link">MIT</a>
</li>
</ul>
<footer>
<div class="footer_links">

View File

@ -72,7 +72,7 @@
</div>
</div>
</noscript>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.4.1/socket.io.min.js"></script>
<script src="/static/js/socket.io_v4.4.1/socket.io.min.js"></script>
<script src="/static/js/api.js"></script>
<script src="/static/js/game_common.js"></script>
<script src="/static/js/game_lobby.js"></script>