Merge pull request #2152 from thornbill/me-want-cookie

Add config option to include cookies in playback requests
This commit is contained in:
dkanada
2020-12-02 11:50:45 +09:00
committed by GitHub
4 changed files with 38 additions and 10 deletions
+9
View File
@@ -76,6 +76,15 @@ async function getDefaultConfig() {
}
}
export function getIncludeCorsCredentials() {
return getConfig()
.then(config => config.includeCorsCredentials)
.catch(error => {
console.log('cannot get web config:', error);
return false;
});
}
export function getMultiServer() {
return getConfig().then(config => {
return config.multiserver;