From 6d8a62087aae6aa9c272b137d1f1a0fcada66ce6 Mon Sep 17 00:00:00 2001 From: Mat Date: Wed, 28 Sep 2022 22:46:10 +0300 Subject: [PATCH] web_chat.lua: Update URL for chat Fixes #249 --- web_chat.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_chat.lua b/web_chat.lua index ba1a9dd..02972f5 100644 --- a/web_chat.lua +++ b/web_chat.lua @@ -75,7 +75,7 @@ local JavaScript = [[ if( MessageContainer.value == "" ) return; var postParams = "ChatMessage=" + MessageContainer.value; - OpenPage( "/~webadmin/Core/Chat/", postParams, function( xhr ) + OpenPage( "/~webadmin/Core/chat/", postParams, function( xhr ) { RefreshChat(); } ); @@ -85,7 +85,7 @@ local JavaScript = [[ function RefreshChat() { var postParams = "JustChat=true&LastMessageID=" + LastMessageID; - LoadPageInto("/~webadmin/Core/Chat/", postParams, document.getElementById('ChatDiv')); + LoadPageInto("/~webadmin/Core/chat/", postParams, document.getElementById('ChatDiv')); } setInterval(RefreshChat, 1000);