This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
async function handleRequest(request) { | |
// Verify request method | |
if (request.method !== 'POST') { | |
return new Response('Method Not Allowed', { status: 405 }) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "cbase.h" | |
#include "vgui_controls/SectionedListPanel.h" | |
#include "vgui_controls/ImagePanel.h" | |
#include "engine/IEngineSound.h" | |
#include "filesystem.h" | |
#include "icommandline.h" | |
#include "music_system.h" | |
// memdbgon must be the last include file in a .cpp file!!! | |
#include "tier0/memdbgon.h" |