I am trying to hide server details when angular application after loading. help me to hide this details. I attached the screen shot for reference
Asked
Active
Viewed 320 times
0
-
Angular can't do that. It's your server that is "at fault" here, sending information about itself. Although not that dangerous, if you wish to remove it, please edit your tags to target the IIS community. – May 23 '22 at 08:34
1 Answers
1
You need to remove the server response header from IIS. Following is a question answer that might help you.
Remove Server Response Header IIS 8.0 / 8.5
First, you need to install the plugin and write the code like below in web.config file.
Basically you need to add rewrite module and overwrite that value with your value.

Jalpesh Vadgama
- 13,653
- 19
- 72
- 94
-
-
It's a plugin. You need to download that and install it. Then in article itself they have mentioned the sample code. – Jalpesh Vadgama May 24 '22 at 10:44
-