mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 11:01:45 +00:00
feat(api-server): Add HTTPS support and custom certificate configuration (#3874)
This commit is contained in:
@ -11,6 +11,9 @@ export interface APIServerConfig {
|
||||
secret: string;
|
||||
|
||||
authorizedClients: string[];
|
||||
useHttps: boolean;
|
||||
certPath: string;
|
||||
keyPath: string;
|
||||
}
|
||||
|
||||
export const defaultAPIServerConfig: APIServerConfig = {
|
||||
@ -21,4 +24,7 @@ export const defaultAPIServerConfig: APIServerConfig = {
|
||||
secret: Date.now().toString(36),
|
||||
|
||||
authorizedClients: [],
|
||||
useHttps: false,
|
||||
certPath: '',
|
||||
keyPath: '',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user