feat: init

This commit is contained in:
eric
2023-08-12 15:56:22 +08:00
parent 8524c97618
commit 2f333d962f
51 changed files with 443840 additions and 79 deletions

11
background/ports/mail.ts Normal file
View 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