Config vs Providers for Weeding Website
Hello!
I'm trying to build my weeding website with effect, and I am a bit confused about Config and Providers... Should I just read from config directly like this:
Or is it better if I take a config provider?
I'm trying to centralize the server configuration, so I don't need to write
I'm trying to build my weeding website with effect, and I am a bit confused about Config and Providers... Should I just read from config directly like this:
Or is it better if I take a config provider?
I'm trying to centralize the server configuration, so I don't need to write
import.meta.env.JWT_SECRET everywhere I want to sign a token