Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

swagger ui in production #4252


User avatar
0
agmachado created

How can I disable the swagger ui in a production environment?


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    You can comment out these lines and these lines in Startup.cs.

  • User Avatar
    0
    agmachado created

    your indications worked Thank you