vdolek/angular-runtime-config

Configuration always blank

Opened this issue · 4 comments

I think there is no problem with my urlFactory,


AngularRuntimeConfigModule.forRoot(Configuration, {
      log:true,
      urlFactory: () => [ 'appsettings.json' ]
    }),

Do you see request to appsettings.json in network tab in developer tools?

Do you see request to appsettings.json in network tab in developer tools?

No, does this library make http requsts?
What I wanted to, is to use libraries that is going to load json file on runtime without http requests, this json file is configurable and does contain credentials which is to be hidden from user