DS_RENDERER_URL should be defined in code or readme
isnolan opened this issue · comments
Clone the repo, npm run dev won't be work, DS_RENDERER_URL should be defined in code or readme.
Hi, can you provide more detailed error information? Because it works fine on my pc.
process.env.DS_RENDERER_URL
is actually the dev mode address in Vite, vite-plugin-doubleshot
will set the address to DS_RENDERER_URL
.
Hi, can you provide more detailed error information? Because it works fine on my pc.
process.env.DS_RENDERER_URL
is actually the dev mode address in Vite,vite-plugin-doubleshot
will set the address toDS_RENDERER_URL
.
On my MBP(m1), it will get a white screen page, which is caused by the above reason.
I opened my dusty MBP 😂 and found the problem. The vite dev server preferentially provides an IPv6 address (of course, IPv4 is still valid), so we need to set the DS_RENDERER_URL
with a URL in IPv6 format.
Please pull/clone this repo again and update dependencies, then run it.
Wow, your MBP doesn't even have time to get dusty.