obsidian-visualiser/patches/@nuxt%2Fcontent@2.13.2.patch

18 lines
761 B
Diff

diff --git a/dist/runtime/server/storage.js b/dist/runtime/server/storage.js
index b9bb602074f15488fe7ee700bbed281b42b463d9..96382bc576ab0145c854d06d67649b31138e76f4 100644
--- a/dist/runtime/server/storage.js
+++ b/dist/runtime/server/storage.js
@@ -40,10 +40,10 @@ const contentIgnorePredicate = (key) => {
if (key.startsWith("preview:") || isIgnored(key)) {
return false;
}
- if (invalidKeyCharacters.some((ik) => key.includes(ik))) {
+ /*if (invalidKeyCharacters.some((ik) => key.includes(ik))) {
console.warn(`Ignoring [${key}]. File name should not contain any of the following characters: ${invalidKeyCharacters.join(", ")}`);
return false;
- }
+ }*/
return true;
};
export const getContentsIds = async (event, prefix) => {