mirror of
https://github.com/JonasunderscoreJones/ArchSystemSetup.git
synced 2025-10-23 03:29:20 +02:00
added gnome shell extensions
This commit is contained in:
parent
81fba8e6b0
commit
a7b4fc77d9
4 changed files with 49 additions and 0 deletions
13
worker.js
13
worker.js
|
@ -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 });
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue