render "config.js" server-side