Weird, that fixed it. I assumed that since the URL was exactly the same whether I ran it with ./nodebb start or ./nodebb dev, it couldn't be related to cache. I suppose I just don't know enough about how caches work.
Thanks anyways 😛
@song19891121 probleam solved.
using vim edit config.json
changing localhost to your website.