From a maintenance perspective, it is confusing that have both a route and a `scripts/generate_code_version.js` that generates a static file.

We should choose one or the other... no?

Perhaps this route could be a middleware and would call `scripts/generate_code_version.js` if there is no code_version.js on disc?