@abtnode/router-provider 1.8.65-beta-f7af64a4 → 1.8.65-beta-bfcc12ce

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -464,7 +464,9 @@ class NginxProvider extends BaseProvider {
464
464
  this._addCors({ location, corsAllowedOrigins, serverName, isDidAuthPath });
465
465
 
466
466
  this._addCommonResHeaders(location, commonHeaders);
467
- this._addTailSlashRedirection(location, prefix); // Note: 末尾 "/" 的重定向要放在 CORS(OPTIONS) 响应之后, 这样不会影响 OPTIONS 的响应
467
+ if (!cacheGroup && !suffix) {
468
+ this._addTailSlashRedirection(location, prefix); // Note: 末尾 "/" 的重定向要放在 CORS(OPTIONS) 响应之后, 这样不会影响 OPTIONS 的响应
469
+ }
468
470
 
469
471
  if (did) {
470
472
  location._add('set', `$did "${did}"`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/router-provider",
3
- "version": "1.8.65-beta-f7af64a4",
3
+ "version": "1.8.65-beta-bfcc12ce",
4
4
  "description": "Routing engine implementations for abt node",
5
5
  "author": "polunzh <polunzh@gmail.com>",
6
6
  "homepage": "https://github.com/ArcBlock/blocklet-server#readme",
@@ -32,10 +32,10 @@
32
32
  "url": "https://github.com/ArcBlock/blocklet-server/issues"
33
33
  },
34
34
  "dependencies": {
35
- "@abtnode/constant": "1.8.65-beta-f7af64a4",
36
- "@abtnode/logger": "1.8.65-beta-f7af64a4",
37
- "@abtnode/router-templates": "1.8.65-beta-f7af64a4",
38
- "@abtnode/util": "1.8.65-beta-f7af64a4",
35
+ "@abtnode/constant": "1.8.65-beta-bfcc12ce",
36
+ "@abtnode/logger": "1.8.65-beta-bfcc12ce",
37
+ "@abtnode/router-templates": "1.8.65-beta-bfcc12ce",
38
+ "@abtnode/util": "1.8.65-beta-bfcc12ce",
39
39
  "axios": "^0.27.2",
40
40
  "debug": "^4.3.4",
41
41
  "find-process": "^1.4.7",
@@ -62,5 +62,5 @@
62
62
  "fs-extra": "^10.1.0",
63
63
  "needle": "^3.1.0"
64
64
  },
65
- "gitHead": "97607d6e12bf8508ac29ab6546110c4ae3b31a82"
65
+ "gitHead": "f6a56512275a55feecf2f3953542ea98777a08f2"
66
66
  }