fix: remove swagger path cache
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vocechat-web",
|
||||
"version": "0.3.19",
|
||||
"version": "0.3.20",
|
||||
"private": true,
|
||||
"homepage": "https://voce.chat",
|
||||
"dependencies": {
|
||||
|
||||
@@ -33,7 +33,7 @@ registerRoute(
|
||||
return false;
|
||||
} // If this is a URL that starts with /_, skip.
|
||||
|
||||
if (url.pathname.startsWith("/_")) {
|
||||
if (url.pathname.startsWith("/_") || url.pathname.startsWith("/api/swagger")) {
|
||||
return false;
|
||||
} // If this looks like a URL for a resource, because it contains // a file extension, skip.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user