tgstation-server
The /tg/station 13 server suite
src
Tgstation.Server.Host
Configuration
ControlPanelConfiguration.cs
Go to the documentation of this file.
1
using
System.Collections.Generic;
2
3
namespace
Tgstation.Server.Host.Configuration
4
{
8
public
sealed
class
ControlPanelConfiguration
9
{
13
public
const
string
Section
=
"ControlPanel"
;
14
18
public
bool
Enable
{
get
;
set
; }
19
23
public
bool
AllowAnyOrigin
{
get
;
set
; }
24
28
public
List<string>
AllowedOrigins
{
get
;
set
; }
29
}
30
}
Tgstation.Server.Host.Configuration.ControlPanelConfiguration.AllowedOrigins
List< string > AllowedOrigins
Origins allowed for CORS requests
Definition:
ControlPanelConfiguration.cs:28
Tgstation.Server.Host.Configuration.ControlPanelConfiguration.Enable
bool Enable
If the control panel is enabled
Definition:
ControlPanelConfiguration.cs:18
Tgstation.Server.Host.Configuration.ControlPanelConfiguration.AllowAnyOrigin
bool AllowAnyOrigin
If any origin is allowed for CORS requests. This overrides AllowedOrigins
Definition:
ControlPanelConfiguration.cs:23
Tgstation.Server.Host.Configuration.ControlPanelConfiguration.Section
const string Section
The key for the Microsoft.Extensions.Configuration.IConfigurationSection the ControlPanelConfiguratio...
Definition:
ControlPanelConfiguration.cs:13
Tgstation.Server.Host.Configuration
Definition:
ControlPanelConfiguration.cs:3
Tgstation.Server.Host.Configuration.ControlPanelConfiguration
Configuration options for the web control panel
Definition:
ControlPanelConfiguration.cs:8
Generated by
1.8.15