Hacker News new | ask | show | jobs
by helij 2073 days ago
What kind of a setup you had with Hugo to do this? I compile and ship to a server. Why would Hugo handle 404s? That's a job for a web server.
2 comments

Yes, he shouldn't be running the dev server to serve his static site as a dynamic site in production. That's missing the point of Hugo.
That was after configuring HUGO on localhost and customizing its theme.