diff --git a/views/escapeRooms/play/play.ejs b/views/escapeRooms/play/play.ejs index 4de468c..bed5461 100644 --- a/views/escapeRooms/play/play.ejs +++ b/views/escapeRooms/play/play.ejs @@ -267,7 +267,7 @@ var token = "<%= token%>"; var ER = { "locale": "<%=i18n.lang%>", - "escappEndpoint": "<%=hostName + "/escapeRooms/" + escapeRoom.id %>", + "escappEndpoint": "<%=hostName + "/api/escapeRooms/" + escapeRoom.id %>", "info": { "escapeRoomPuzzles": <%- JSON.stringify(puzzles)%>, "totalPuzzles": <%= escapeRoom.puzzles.length %>,