mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 11:33:25 +00:00
format
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import type { PlasmoMessaging } from '@plasmohq/messaging';
|
import type { PlasmoMessaging } from '@plasmohq/messaging';
|
||||||
import { domainIsInWhitelist, validateDomainWhiteList } from '~utils/storage';
|
|
||||||
|
import { validateDomainWhiteList } from '~utils/storage';
|
||||||
|
|
||||||
interface RequestBody {
|
interface RequestBody {
|
||||||
ruleId: number;
|
ruleId: number;
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
import type { PlasmoMessaging } from '@plasmohq/messaging';
|
import type { PlasmoMessaging } from '@plasmohq/messaging';
|
||||||
import { domainIsInWhitelist, validateDomainWhiteList } from '~utils/storage';
|
|
||||||
|
import { validateDomainWhiteList } from '~utils/storage';
|
||||||
|
|
||||||
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
|
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
|
||||||
try {
|
try {
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
import type { PlasmoCSConfig } from 'plasmo';
|
|
||||||
|
|
||||||
import { relayMessage } from '@plasmohq/messaging';
|
import { relayMessage } from '@plasmohq/messaging';
|
||||||
|
import type { PlasmoCSConfig } from 'plasmo';
|
||||||
|
|
||||||
export const config: PlasmoCSConfig = {
|
export const config: PlasmoCSConfig = {
|
||||||
matches: ['<all_urls>'],
|
matches: ['<all_urls>'],
|
||||||
|
Reference in New Issue
Block a user