mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-28 12:21:11 +00:00
Add spaces around curly braces in import statements and object literals.
This commit is contained in:
parent
fe609c7f65
commit
bd83c542a8
1 changed files with 5 additions and 2 deletions
|
|
@ -830,13 +830,16 @@ export class ShadowsocksManagerService {
|
|||
// Store Caddy configuration
|
||||
const configData = this.serverConfig.data();
|
||||
if (configData) {
|
||||
configData.caddyWebServer = {
|
||||
const caddyConfig: CaddyWebServerConfig = {
|
||||
enabled: config.enabled ?? false,
|
||||
autoHttps: config.autoHttps ?? false,
|
||||
email: config.email,
|
||||
domain: config.domain,
|
||||
apiProxyPath: config.apiProxyPath,
|
||||
};
|
||||
if (config.apiProxyPath) {
|
||||
caddyConfig.apiProxyPath = config.apiProxyPath;
|
||||
}
|
||||
configData.caddyWebServer = caddyConfig;
|
||||
}
|
||||
|
||||
this.serverConfig.write();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue