looking at this <example> here pulling environment...
# ktor
a
looking at this example here pulling environment variables from custom properties but I'm getting an error
Unresolved reference: environment
. I do have the dependency
io.ktor:ktor-server-config-yaml
set up What am I missing?
a
Can you please share your application module code and the imports?
a
oh I was trying to reference it inside of a function that isn't
Application.module
I see now that it's part of the
Application
class and being passed inherently
thank you