Skip to content

Instantly share code, notes, and snippets.

View LittleChest's full-sized avatar
πŸ˜Άβ€πŸŒ«οΈ
Being ignored...

LittleChest

πŸ˜Άβ€πŸŒ«οΈ
Being ignored...
View GitHub Profile
πŸ—£ Commented on #66 in LeavesMC/Status
❗️ Closed issue #66 in LeavesMC/Status
❗️ Opened issue #66 in LeavesMC/Status
❗️ Opened issue #1 in jianghong008/astro-i18n-plus
❗️ Closed issue #65 in LeavesMC/Status
⭐ Total Stars: 4
βž• Total Commits: 598
πŸ”€ Total PRs: 88
🚩 Total Issues: 192
πŸ“¦ Contributed to: 47
🌞 Morning 25 commits β–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 7.0%
πŸŒ† Daytime 103 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 28.8%
πŸŒƒ Evening 215 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 60.1%
πŸŒ™ Night 15 commits β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 4.2%
// 万物衷源
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
// δΈ»ι€»θΎ‘
async function handleRequest(request) {
const url = new URL(request.url);
const path = url.pathname;
const otaResponse = await ROMS.get(`OTA_${path}`);