async function handleRequest(request) {// 获取远程资源const response = await fetch('https://static.cloudcachetci.com/qcloud/main/scripts/release/common/vendors/jquery-3.2.1.min.js');return response;}addEventListener('fetch', event => {return event.respondWith(handleRequest(event.request));});
本页内容是否解决了您的问题?