mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-30 17:57:49 +01:00
Made client socket io path change for all views. Fixes browser race condition
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel = "stylesheet" type = "text/css" href = "../static/styles.css" />
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
<script src="../node_modules/socket.io-client/dist/socket.io.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="modal hidden" id="role-modal">
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel = "stylesheet" type = "text/css" href = "../static/styles.css" />
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
<script src="../node_modules/socket.io-client/dist/socket.io.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="app-content">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>Werewolf</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel = "stylesheet" type = "text/css" href = "../static/styles.css" />
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
<script src="../node_modules/socket.io-client/dist/socket.io.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="app-content">
|
||||
|
||||
Reference in New Issue
Block a user