added gnome shell extensions

This commit is contained in:
Jonas_Jones 2024-10-23 23:26:12 +02:00
parent 81fba8e6b0
commit a7b4fc77d9
4 changed files with 49 additions and 0 deletions

View file

@ -43,6 +43,19 @@ export default {
});
}
if (url.pathname === '/gextensions') {
// Fetch the shell script file
const script = await fetch('https://raw.githubusercontent.com/JonasunderscoreJones/ArchSystemSetup/refs/heads/main/gextensions.txt');
const scriptText = await script.text();
return new Response(scriptText, {
headers: {
'Content-Type': 'text/plain', // Set the correct content type
'Cache-Control': 'no-store' // Optional: Prevent caching
}
});
}
return new Response('Not Found', { status: 404 });
}
};