What's the usage of `pages` folder in the `with-message example? And how can I test relay messaging?

I had tried the with-message example for server days but no good result on relay messaging. Found that there is Next.js and a special address localhost:1947, I guess it maybe a bad example? Maybe I misunderstand the meaning of this part of docs, Relay Flow,Website,CS/BGSW,Yes,No .
6 Replies
shirokumiao
shirokumiaoOP•2y ago
I noticed that two days before. And without any obvious entry(like popup or options pages), I can also input the address on chrome manually. Then everything about relay-message is OK.
shirokumiao
shirokumiaoOP•2y ago
But, is that what the docs and the example mean, relay is only useful when someone has his own website and want the website interact with his ext?
Arcane
Arcane•2y ago
@miao miao has reached level 1. GG!
shirokumiao
shirokumiaoOP•2y ago
When used in ext internally, just direct send and port is all we need?
lab
lab•2y ago
that's somewhat it yeah. The relay API has other use, but one of the main use case is communicate with target websites
shirokumiao
shirokumiaoOP•2y ago
OK, thanks~
Want results from more Discord servers?
Add your server