Skip to content

Commit

Permalink
Actually remove provideEdpoints function
Browse files Browse the repository at this point in the history
Change-Id: I4e06b9d501586735c3e67b6d5ee753132a5ed71a
  • Loading branch information
EmilyZhang777 committed May 4, 2023
1 parent 079a722 commit 81607e3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/provideEndpoints.ts
Expand Up @@ -48,17 +48,3 @@ export class EndpointsFactory {
export const SandboxEndpoints: Required<Endpoints> =
new EndpointsFactory({ environment: Environment.SANDBOX, cloudRegion: CloudRegion.US })
.getEndpoints();

/**
* Provides all endpoints based on environment and cloud region.
*
* @remarks
* Returns an {@link Endpoints} instance.
*
* @param config - serving config to use for the domain, defaults to Prod and US if not provided.
*
* @public
*/
export function provideEndpoints(config?: ServingConfig): Required<Endpoints> {
return new EndpointsFactory(config).getEndpoints();
}

0 comments on commit 81607e3

Please sign in to comment.