.net - how can I read appsettings.json from angular? -


i trying read appsettings.json on angular , set url depending on settings on appsettings.json.

on appsettings.json have defined url test , dev environments.

i want on angular set urls depending on file.

is possible?

thanks

you can use $http.get('path/to/appsettings.json') data json file.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -