lix02 commited on
Commit
b9765d4
·
verified ·
1 Parent(s): 66f1e0a

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -19,7 +19,7 @@ function extractStringAfterRp(url) {
19
 
20
 
21
 
22
- app.get('/', async (req, res) => {
23
  // 启动浏览器
24
  const browser = await puppeteer.launch({
25
  executablePath: '/usr/bin/google-chrome-stable', // 根据您的实际路径进行修改
 
19
 
20
 
21
 
22
+ app.get('/*', async (req, res) => {
23
  // 启动浏览器
24
  const browser = await puppeteer.launch({
25
  executablePath: '/usr/bin/google-chrome-stable', // 根据您的实际路径进行修改