mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
fix local chrome
This commit is contained in:
parent
074013f197
commit
e33f33ac3a
@ -20,7 +20,7 @@ class Render(metaclass=Singleton):
|
||||
self.page = None
|
||||
|
||||
async def init(self):
|
||||
browser = await launch(execublePath='/usr/bin/chromium')
|
||||
browser = await launch(executablePath='/usr/bin/chromium')
|
||||
self.page = await browser.newPage()
|
||||
|
||||
async def text_to_pic(self, text: str) -> str:
|
||||
|
Loading…
x
Reference in New Issue
Block a user