Spaces:
Sleeping
Sleeping
T1ckbase commited on
Commit ·
6c319ef
1
Parent(s): 00a6baf
update
Browse files- main.ts +1 -1
- package.json +1 -1
main.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Hono } from 'hono';
|
|
| 3 |
import { bodyLimit } from 'hono/body-limit';
|
| 4 |
import { cors } from 'hono/cors';
|
| 5 |
import { logger } from 'hono/logger';
|
| 6 |
-
import { type Browser, type BrowserContext, chromium, devices, type Page } from 'playwright
|
| 7 |
|
| 8 |
class OCR {
|
| 9 |
context: BrowserContext;
|
|
|
|
| 3 |
import { bodyLimit } from 'hono/body-limit';
|
| 4 |
import { cors } from 'hono/cors';
|
| 5 |
import { logger } from 'hono/logger';
|
| 6 |
+
import { type Browser, type BrowserContext, chromium, devices, type Page } from 'playwright';
|
| 7 |
|
| 8 |
class OCR {
|
| 9 |
context: BrowserContext;
|
package.json
CHANGED
|
@@ -15,6 +15,6 @@
|
|
| 15 |
"dependencies": {
|
| 16 |
"@hono/node-server": "^1.19.6",
|
| 17 |
"hono": "^4.10.7",
|
| 18 |
-
"playwright
|
| 19 |
}
|
| 20 |
}
|
|
|
|
| 15 |
"dependencies": {
|
| 16 |
"@hono/node-server": "^1.19.6",
|
| 17 |
"hono": "^4.10.7",
|
| 18 |
+
"playwright": "^1.57.0"
|
| 19 |
}
|
| 20 |
}
|