mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
docs: trying to fix runkit cors
This commit is contained in:
parent
b11d51dfaa
commit
bcc1f477da
@ -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.",
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user