Small typo fix
This commit is contained in:
parent
4d06b3d064
commit
4800ecaa0c
@ -11,7 +11,7 @@ import { importNotionCvs } from "../objects/cv.js";
|
|||||||
import { importFiles } from "../objects/files.js";
|
import { importFiles } from "../objects/files.js";
|
||||||
import { importNotionProjects } from "../objects/projects.js";
|
import { importNotionProjects } from "../objects/projects.js";
|
||||||
import { importVideos } from "../objects/videos.js";
|
import { importVideos } from "../objects/videos.js";
|
||||||
import { handleBlurhashUpdate } from "../utils/imageCache";
|
import { handleBlurHashUpdate } from "../utils/imageCache";
|
||||||
|
|
||||||
// Fetch or return cached content
|
// Fetch or return cached content
|
||||||
export async function getCachedContent(env, request) {
|
export async function getCachedContent(env, request) {
|
||||||
@ -44,7 +44,7 @@ export async function getCachedContent(env, request) {
|
|||||||
cachedContent.images = await importImages(env);
|
cachedContent.images = await importImages(env);
|
||||||
cachedContent.files = await importFiles(env);
|
cachedContent.files = await importFiles(env);
|
||||||
cachedContent.videos = await importVideos(env);
|
cachedContent.videos = await importVideos(env);
|
||||||
await handleBlurhashUpdate(request, env);
|
await handleBlurHashUpdate(request, env);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (noPages) {
|
if (noPages) {
|
||||||
@ -52,7 +52,7 @@ export async function getCachedContent(env, request) {
|
|||||||
cachedContent.images = await importImages(env);
|
cachedContent.images = await importImages(env);
|
||||||
cachedContent.files = await importFiles(env);
|
cachedContent.files = await importFiles(env);
|
||||||
cachedContent.videos = await importVideos(env);
|
cachedContent.videos = await importVideos(env);
|
||||||
await handleBlurhashUpdate(request, env);
|
await handleBlurHashUpdate(request, env);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (noCvs) {
|
if (noCvs) {
|
||||||
@ -66,7 +66,7 @@ export async function getCachedContent(env, request) {
|
|||||||
cachedContent.images = await importImages(env);
|
cachedContent.images = await importImages(env);
|
||||||
cachedContent.files = await importFiles(env);
|
cachedContent.files = await importFiles(env);
|
||||||
cachedContent.videos = await importVideos(env);
|
cachedContent.videos = await importVideos(env);
|
||||||
await handleBlurhashUpdate(request, env);
|
await handleBlurHashUpdate(request, env);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (noProjects) {
|
if (noProjects) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user