Add fake server identity

pull/1/head
Nikita Tokarchuk 2 years ago
parent b106844c22
commit e98fdf569c
Signed by: mainnika
GPG Key ID: A595FB7E3E56911C
  1. 3
      frontend/main.go

@ -13,6 +13,8 @@ import (
var Version = "nightly"
const frontendServerIdentity = "Microsoft-IIS/6.0"
func main() {
if viper.GetBool("version") {
@ -48,6 +50,7 @@ func main() {
httpServer := fasthttp.Server{
Logger: logrus.StandardLogger(),
Name: frontendServerIdentity,
GetOnly: true,
}

Loading…
Cancel
Save