hzrd149 on Nostr: if you using npm you need to do `npm run dev -- --host` it needs the extra -- to pass ...
if you using npm you need to do `npm run dev -- --host` it needs the extra -- to pass flags.
although don't use the dev for hosting its very inefficient. you want to build the app `npm run build` then you can use any http server to serve the `dist` folder
Published at
2024-11-28 17:48:00Event JSON
{
"id": "af4d46b3dba431d96f30b08783c3dbe80045b725500e8464ebe813b482e2e8e9",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1732816080,
"kind": 1,
"tags": [
[
"e",
"05b06e60fc43718817d48039c34a6d350527e813241e0e91bb1dc7e7a3d90668",
"wss://relay.primal.net/",
"root"
],
[
"e",
"05b06e60fc43718817d48039c34a6d350527e813241e0e91bb1dc7e7a3d90668",
"wss://relay.primal.net/",
"reply"
],
[
"p",
"33c74427f3b2b73d5e38f3e6c991c122a55d204072356f71da49a0e209fb6940",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "if you using npm you need to do `npm run dev -- --host` it needs the extra -- to pass flags. \nalthough don't use the dev for hosting its very inefficient. you want to build the app `npm run build` then you can use any http server to serve the `dist` folder",
"sig": "c23cd2610c3b4c3aec31abd02bc61b2ca12f6975a9f76245add30786f7bf60c4836d6fe598de1d0e2c080f8e6d55a2668470c09eb23570d18bc833e5bb830206"
}