mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2025-02-05 15:40:14 +00:00
fix cookie API endpoint
This commit is contained in:
parent
b36ac337cf
commit
bcb8f545e8
@ -77,7 +77,7 @@ async function getAccess() {
|
|||||||
|
|
||||||
// check if cookie is valid
|
// check if cookie is valid
|
||||||
async function getCookieState() {
|
async function getCookieState() {
|
||||||
const path = 'api/cookie/';
|
const path = 'api/appsettings/cookie/';
|
||||||
let response = await sendGet(path);
|
let response = await sendGet(path);
|
||||||
console.log('cookie state: ' + JSON.stringify(response));
|
console.log('cookie state: ' + JSON.stringify(response));
|
||||||
|
|
||||||
@ -185,7 +185,7 @@ async function getChannel(channelHandle) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function cookieStr(cookieLines) {
|
async function cookieStr(cookieLines) {
|
||||||
const path = 'api/cookie/';
|
const path = 'api/appsettings/cookie/';
|
||||||
let payload = {
|
let payload = {
|
||||||
cookie: cookieLines.join('\n'),
|
cookie: cookieLines.join('\n'),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user