Webview wont open

Bug description:
When I run my repl, it should open webview, because I have an index.html

Expected vs Current Behavior:
I expected it to open webview, but it is currently not opening

Steps to reproduce:

Bug appears at this link: https://replit.com/@cubeman329/policbot

Screenshot(s)/Screen Recording:

Browser/OS/Device: Chrome/ChromeOS/Chromebook

Replit Profile: https://replit.com/@cubeman329

Hello and welcome to ask! I see you are running a Node.js repl, here are a few notes:

  1. PLEASE put your bot’s token in a secret! Anyone who looks at your code right now can take your bot’s token!
  2. Node does not host any page except the ones you tell it to, so unless you define a route that returns index.html it will not be returned.
1 Like