store permission file and hide it from being listed

This commit is contained in:
2025-05-27 14:00:31 +02:00
parent 63638cfba5
commit 52222f0236
2 changed files with 10 additions and 4 deletions

View File

@@ -15,6 +15,8 @@ export async function GET({ params }) {
const name = data.name.slice(prefix.length);
if (name === 'config.json') return;
// zugangscode datei
if (name === '__perm__') return;
controller.enqueue(`${JSON.stringify({ ...data, name, prefix })}\n`);
});