I use ngrok without Rasa X to share the localhost to other computers, but only the html work, it's UI cannot conversation properly with my bot

I had create a chatbot with UI, it’s works well at my computer in localhost, but when I use ngrok share link to another devices, it’s only can open the UI (include html, css and js) from the link, while cannot conversation with my bot. Anyone can help me please?