Skip to content

Commit

Permalink
updated episode sources
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyout committed May 5, 2024
1 parent d166b6a commit 8ec80a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/api/sources/upcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default async function handler(req, res) {
} catch (error) {
return res.status(500).end(`Server Error,check the params.`)
}
await page.close();
await browser.close();

// Response headers.
res.setHeader('Cache-Control', 's-maxage=10, stale-while-revalidate')
Expand Down
2 changes: 1 addition & 1 deletion pages/api/sources/vidcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default async function handler (req, res) {
} catch (error) {
return res.status(500).end(`Server Error,check the params.`)
}
await page.close();
await browser.close();

// Response headers.
res.setHeader('Cache-Control', 's-maxage=10, stale-while-revalidate')
Expand Down

0 comments on commit 8ec80a6

Please sign in to comment.