How to use a variable added in environment.ts in Angular html components without having to import in each one?

后端 未结 0 1806
难免孤独
难免孤独 2020-12-19 07:06

I\'m using angular 9. Currently all the images come from the assets folder from angular, but now it\'s expected to use a CDN to get this images so I need a configurable path

相关标签:
回答
  • 消灭零回复
提交回复
热议问题