File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 "gen-schema-doc" : " node ./scripts/doc-schema.js" ,
2727 "cypress:run" : " cypress run" ,
2828 "cypress:open" : " cypress open" ,
29- "generate-config-types" : " quicktype --src-lang schema --lang typescript --out src/config/generated/config.ts --top-level GitProxyConfig config.schema.json && ts-node scripts/add-banner.ts src/config/generated/config.ts"
29+ "generate-config-types" : " quicktype --src-lang schema --lang typescript --out src/config/generated/config.ts --top-level GitProxyConfig config.schema.json && ts-node scripts/add-banner.ts src/config/generated/config.ts && prettier --write src/config/generated/config.ts "
3030 },
3131 "bin" : {
3232 "git-proxy" : " ./index.js" ,
Original file line number Diff line number Diff line change @@ -62,6 +62,11 @@ export interface GitProxyConfig {
6262 * Pattern searches for listed private organizations are disabled
6363 */
6464 privateOrganizations ?: any [ ] ;
65+ /**
66+ * Used in early versions of git proxy to configure the remote host that traffic is proxied
67+ * to. In later versions, the repository URL is used to determine the domain proxied,
68+ * allowing multiple hosts to be proxied by one instance.
69+ */
6570 proxyUrl ?: string ;
6671 /**
6772 * API Rate limiting configuration.
You can’t perform that action at this time.
0 commit comments