feat: init
This commit is contained in:
11
background/ports/mail.ts
Normal file
11
background/ports/mail.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { PlasmoMessaging } from "@plasmohq/messaging"
|
||||
|
||||
const handler: PlasmoMessaging.PortHandler = async (req, res) => {
|
||||
console.log(req)
|
||||
|
||||
res.send({
|
||||
message: "Hello from port handler"
|
||||
})
|
||||
}
|
||||
|
||||
export default handler
|
||||
Reference in New Issue
Block a user