cooluke.
cooluke.
WWasp
Created by cooluke. on 1/21/2025 in #đŸ™‹questions
In development mode can I change the hostname of the server to something other than "localhost?"
I'd like to load my development site from my phone and other machines on my local network. I'm able to pull up the front-end on my phone, but the app doesn't work, because it sends all the server requests to "localhost:3000." I tried setting WASP_SERVER_URL but it didn't work.
7 replies
WWasp
Created by cooluke. on 1/17/2025 in #đŸ™‹questions
Can I kick off an `action` from within a query?
If one of my queries finds that there are no results in the DB its search, I want to asynchronously kick off an "action" that I have to populate the DB. Am I allowed (in WASP) to send an action from within a query?
6 replies