Skip to content

Instantly share code, notes, and snippets.

View tomaustin700's full-sized avatar
🏠
Working from home

Tom Austin tomaustin700

🏠
Working from home
View GitHub Profile
{
"mode": "All",
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.SQL/servers/databases"
},
{
export default {
async fetch(request, env, ctx) {
const cacheUrl = new URL(request.url);
const response = await fetch(request.url, { method: 'HEAD' })
async function gatherResponse(response) {
return response.status;