store permission file and hide it from being listed
This commit is contained in:
@@ -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`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user