Fix folder editing and add links updates on file rename

This commit is contained in:
2024-12-17 20:36:51 +01:00
parent 36909c5d66
commit 0abf0b11e6
4 changed files with 11 additions and 9 deletions

View File

@@ -50,11 +50,6 @@ export default defineEventHandler(async (e) => {
content.content = convertFromStorableLinks(content.content);
}
if(session && session.user && session.user.id !== content.owner)
{
content.content = content.content.replace(/%%(.+)%%/g, "");
}
return { content: content.content };
}