Re:A whole website in a single JavaScript file
by sillysaurusx on Wednesday April 06, 2022 @03:56PM
(#30936773)
Happy to hear that. It did, at one point -- I am quite certain of this -- but that was years ago.
I think it was in the transition between now and vercel. Back then, `now` had some sort of requirement where it only worked automatically if the folder had a package.json file. A plain index.html file required configuration. Delighted to see that this is no longer the case.
I'll give `vc` a shot.
The pricing issues stemmed from the fact that I use updown.io to monitor my domains. Since it pings them every 15 minutes or so, and since vercel spins up servers on demand, that means I was paying for essentially 24/7 service, which was an unwelcome bill over what I signed up for. Customer support gave a 50% refund, which I appreciated, and I've downgraded to a free account ever since.
Re:A whole website in a single JavaScript file
by mushyhammer on Thursday April 07, 2022 @01:58AM
(#30941087)
Sorry Guillermo but you’re not being truthful here. “$ now” worked on any node server, not just static content, it would just run “npm start”. Now v2+ instead requires a handler-based approach.
Re:A whole website in a single JavaScript file
by Rauchg on Friday April 08, 2022 @01:32PM
(#30960090)
I think I misunderstood his comment. I focused on the `index.html` example, but I think he was talking about servers (thanks for pointing that out). That said, the transition was good for servers too depending on what you were using. For example, `package.json` with Next.js was completely seamless!
Try it out: https://hi-there.vercel.app
In under 10s which includes the project setup and linking prompts. The main difference is that `now` got shorter to `vc`Happy to hear more feedback on pricing. Please reach out to [email protected]