jwt secret is now autogenerated
This commit is contained in:
@@ -1903,15 +1903,17 @@ const AnimePlayer = (function() {
|
||||
chapters: _skipIntervals,
|
||||
animeId: _animeId,
|
||||
episode: _currentEpisode,
|
||||
entrySource: _entrySource,
|
||||
token: token
|
||||
};
|
||||
entrySource: _entrySource
|
||||
};
|
||||
|
||||
try {
|
||||
const res = await fetch('/api/watch/mpv', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(body)
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': `Bearer ${token}`
|
||||
},
|
||||
body: JSON.stringify(body),
|
||||
});
|
||||
|
||||
if (res.ok) {
|
||||
|
||||
Reference in New Issue
Block a user