mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 18:13:25 +00:00
Remove requestDomain from messaging
This commit is contained in:
@@ -17,7 +17,7 @@ const handler: PlasmoMessaging.MessageHandler<BaseRequest, Response> = async (re
|
||||
res.send({
|
||||
success: true,
|
||||
version,
|
||||
allowed: await isDomainWhitelisted(req.body.requestDomain),
|
||||
allowed: await isDomainWhitelisted(req.sender.tab.url),
|
||||
});
|
||||
} catch (err) {
|
||||
res.send({
|
||||
|
Reference in New Issue
Block a user