Skip to content

trying to import socket.io in html #4604

Closed Answered by sebastianjnuwu
sebastianjnuwu asked this question in Q&A
Discussion options

You must be logged in to vote

I was trying to import the socket.io in the html but it was giving an error (io not defined) and with these scripts I managed to solve my error. I thank @El-Tommy for his attention and for having tried to help me this time.

 <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.5.4/socket.io.js" integrity="sha512-YeeA/Qxn5hYdkukScTCNNOhTrv1C2RubAGButJ1rmgQwZf/HdRaCGl+JAVkqsqaNRaYNHdheiuKKuPf9mDcqKg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.5.4/socket.io.min.js" integrity="sha512-HTENHrkQ/P0NGDFd5nk6ibVtCkcM7jhr2c7GyvXp5O+4X6O5cQO9AhqFzM+MdeBivsX7Hoys2J7pp2wdgMpCvw==" crossorigin="anonymous" r…

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@sebastianjnuwu
Comment options

@El-Tommy
Comment options

@sebastianjnuwu
Comment options

@El-Tommy
Comment options

@sebastianjnuwu
Comment options

Comment options

You must be logged in to vote
3 replies
@sebastianjnuwu
Comment options

@El-Tommy
Comment options

@sebastianjnuwu
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by sebastianjnuwu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants