I am currently making a simple website with social login integration on node.js with express. Very similar to the social auth challenges here on freecodecamp.
I may be overthinking, but are there any best practices for serving css for secure routes/pages?
Right now, I am making all css public via:
app.use('/css', express.static(process.cwd() + '/css'));
For routes that require authentication, is it a best practice to serve their css only when authentication is verified?
Thanks for any help!