@flue/client 0.0.29 → 0.0.30

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.
@@ -91,7 +91,7 @@ function github(opts) {
91
91
  "user-agent": "flue-proxy"
92
92
  },
93
93
  policy: resolvedPolicy,
94
- setup: ["git config --global url.\"{{proxyUrl}}/\".insteadOf \"https://github.com/\"", "git config --global http.{{proxyUrl}}/.extraheader \"Authorization: Bearer proxy-placeholder\""],
94
+ setup: ["git config --global url.\"{{proxyUrl}}/\".insteadOf \"https://github.com/\"", "git config --global http.{{proxyUrl}}/.extraheader \"Authorization: Bearer {{proxyToken}}\""],
95
95
  denyResponse
96
96
  }];
97
97
  };
@@ -130,11 +130,11 @@ function resolveGitHubPolicy(policy) {
130
130
  },
131
131
  {
132
132
  method: "POST",
133
- path: "/*/git-upload-pack"
133
+ path: "/**/git-upload-pack"
134
134
  },
135
135
  {
136
136
  method: "GET",
137
- path: "/*/info/refs"
137
+ path: "/**/info/refs"
138
138
  },
139
139
  ...userAllow
140
140
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flue/client",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "exports": {