mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-08 08:57:24 +08:00
Merge pull request #6 from rqi14/fix/login-viewport
fix(login): 解除登录浏览器 viewport 锁定
This commit is contained in:
+1
-1
@@ -23,4 +23,4 @@ database.sqlite
|
|||||||
*.sqlite3
|
*.sqlite3
|
||||||
*.db
|
*.db
|
||||||
*.db-journal
|
*.db-journal
|
||||||
.env.local
|
.env.local.worktrees
|
||||||
|
|||||||
@@ -31,7 +31,9 @@ export async function main() {
|
|||||||
const browser = await puppeteer.launch({
|
const browser = await puppeteer.launch({
|
||||||
headless: false,
|
headless: false,
|
||||||
pipe: true,
|
pipe: true,
|
||||||
enableExtensions: [editThisCookieExtensionPath]
|
enableExtensions: [editThisCookieExtensionPath],
|
||||||
|
defaultViewport: null,
|
||||||
|
args: ['--window-size=1440,900']
|
||||||
})
|
})
|
||||||
|
|
||||||
const closeAttachedSet = new WeakSet()
|
const closeAttachedSet = new WeakSet()
|
||||||
|
|||||||
Reference in New Issue
Block a user