mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix comment
This commit is contained in:
parent
3e925e0193
commit
e093c9e096
1 changed files with 13 additions and 0 deletions
|
|
@ -122,15 +122,28 @@ export const contentFetchRequestHandler: RequestHandler = async (req, res) => {
|
|||
try {
|
||||
const fetchResult = await fetchContent(url, locale, timezone)
|
||||
const finalUrl = fetchResult.finalUrl
|
||||
<<<<<<< Updated upstream
|
||||
=======
|
||||
<<<<<<< Updated upstream
|
||||
=======
|
||||
>>>>>>> Stashed changes
|
||||
let urlHash: string | undefined
|
||||
|
||||
const content = fetchResult.content
|
||||
if (content) {
|
||||
<<<<<<< Updated upstream
|
||||
// hash final to use as key
|
||||
=======
|
||||
// hash final url to use as key
|
||||
>>>>>>> Stashed changes
|
||||
urlHash = hash(finalUrl)
|
||||
await uploadToBucket(urlHash, content)
|
||||
console.log('content uploaded to bucket', urlHash)
|
||||
}
|
||||
<<<<<<< Updated upstream
|
||||
=======
|
||||
>>>>>>> Stashed changes
|
||||
>>>>>>> Stashed changes
|
||||
|
||||
const savePageJobs = users.map((user) => ({
|
||||
userId: user.id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue