Warning: REPLIT_DB_URL does not exist, are we running on repl.it? Database will not function.
This is so confusing - my database won't work on repl.run. What's going on?
.env file is deleted when repl.it does not:
- Know if the person accessing it is the owner (
- Knows the person is not the owner (embeds)
That means REPLIT_DB_URL gets deleted.
The only fix would be to make your program a web program.