在nestjs中,需要将http模块导入到每个功能模块中。有没有办法在整个应用程序中仅导入一次 http 模块?
虽然所有功能模块的http配置都是一样的,为什么我们需要在每个功能模块中导入并配置呢?
谢谢。
api rest nestjs
api ×1
nestjs ×1
rest ×1