docs: trying to fix runkit cors

This commit is contained in:
arthurfiorette 2022-01-07 13:58:48 -03:00
parent b11d51dfaa
commit bcc1f477da
No known key found for this signature in database
GPG Key ID: 9D190CD53C53C555
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,5 @@
{ {
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
"name": "Axios Cache Interceptor", "name": "Axios Cache Interceptor",
"short_name": "Cache Interceptor", "short_name": "Cache Interceptor",
"description": "A small and efficient cache interceptor for axios.", "description": "A small and efficient cache interceptor for axios.",

View File

@ -11,8 +11,7 @@ const HOSTNAME_WHITELIST = [
self.location.hostname, self.location.hostname,
'fonts.gstatic.com', 'fonts.gstatic.com',
'fonts.googleapis.com', 'fonts.googleapis.com',
'cdn.jsdelivr.net', 'cdn.jsdelivr.net'
'embed.runkit.com'
]; ];
// The Util Function to hack URLs of intercepted requests // The Util Function to hack URLs of intercepted requests