网站首页/ 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
csharp
using BlazorMonaco.Editor;

namespace Dpz.Core.Web.Dashboard.Pages;

public partial class AppSettings
{
    string SelectedValue { get; set; }

    private StandaloneEditorConstructionOptions EditorConstructionOptions(StandaloneCodeEditor editor)
    {
        return new StandaloneEditorConstructionOptions
        {
            Theme = "vs-dark",
            AutomaticLayout = true,
            Language = "json",
            Value =
                """
{
  "https_port": 443,
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",
  "ConnectionStrings": {
    "redis": "localhost:6379,password=dpangzi089&redis"
  },
  "DbOption": {
    "Uris": [
      "localhost:27017",
      "localhost:37017"
    ],
    "User": "",
    "Password": "",
    "Database": "dpz",
    "AuthDatabase": "",
    "ReplicaSetName": ""
  },
  "Steam": {
    "AppKey": "E680DF1E00F7C8DB7DBACE9542409A91",
    "SteamId": "76561198205335139"
  },
  "RejectBots":[
    {
      "UserAgent":"aligreen",
      "IpAddress":""
    },
    {
      "UserAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/79.0.3945.0 Safari/537.36",
      "IpAddress":""
    },
    {
      "UserAgent":"Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)",
      "IpAddress":""
    },
    {
      "UserAgent":"Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)",
      "IpAddress":""
    },
    {
      "UserAgent":"Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)",
      "IpAddress":""
    },
    {
      "UserAgent":"green-media",
      "IpAddress":""
    }
  ],
  "QQMusicApi": "http://localhost:45818",
  "NetEasyApi": "http://localhost:3378",
  "NetEasyAccount": {
    "email": "",
    "password": "shit123,."
  },
  "TencentCaptcha": {
    "CaptchaAppId": 2084420298,
    "AppSecretKey": "0oBG8kseJ1wxf6H_8iRV6rg**",
    "ApiDomain": "captcha.tencentcloudapi.com"
  },
  "TencentCloud": {
    "SecretId": "AKIDFMH0UlqhKiqkSwBCxSikbEclgNp33qPl",
    "SecretKey": "CByXsztZ0DKH0VkmcDZhbIlz4vXv78yZ"
  },
  "XSS": {
    "Tags": {
      "Add": [
        "audio"
      ],
      "Remove": [
        "textarea",
        "select",
        "button",
        "form",
        "optgroup",
        "option"
      ]
    },
    "Attributes": {
      "Add": [
        "loading",
        "controls",
        "preload",
        "id",
        "name",
        "class",
        "data-src"
      ],
      "Remove": []
    },
    "CSSProperties": {
      "Add": [],
      "Remove": []
    }
  },
  "RegisterInject": [
    {
      "InterfaceAssemblyName": "Dpz.Core.Service",
      "ImplementAssemblyName": "Dpz.Core.Service",
      "InterfaceNamespace": "Dpz.Core.Service.RepositoryService",
      "ImplementNamespace": "Dpz.Core.Service.RepositoryServiceImpl",
      "Remove": [
        "Dpz.Core.Service.RepositoryService.ISteamGameService"
      ]
    },
    {
      "InterfaceAssemblyName": "Dpz.Core.Service",
      "ImplementAssemblyName": "Dpz.Core.Service",
      "InterfaceNamespace": "Dpz.Core.Service.V4.Services",
      "ImplementNamespace": "Dpz.Core.Service.V4.Implements"
    }
  ],
  "WebApi": "https://localhost:53381",
  "CDNBaseAddress": "https://localhost:5505/core",
  "CustomScript": "https://localhost:5506/core",
  "ImageHost": "https://images.dpangzi.com",
  "Origins": [
    "https://cdn.jsdelivr.net",
    "https://api.dpangzi.com",
    "https://cdn.dpangzi.com",
    "https://task.dpangzi.com",
    "https://www.dpangzi.com",
    "https://manage.dpangzi.com",
    "https://dpangzi.com"
  ],
  "EmailService": {
    "Email": "",
    "Password": "qw323259053fl",
    "Smtp": "smtp-mail.outlook.com",
    "Port": 587
  },
  "upyun": {
    "Bucket": "images-dpangzi",
    "Operator": "pengqian",
    "Password": "Mgg18e9kxvzVm0jyui7fNsNM7xvMNm2s",
    "Host": "https://cdn.dpangzi.com"
  },
  "Title": ""
}

""",
        };
    }
}
loading