method Datastore.prototype.determineBaseUrl_
Datastore.prototype.determineBaseUrl_(customApiEndpoint?: string): void

Determine the appropriate endpoint to use for API requests. If not explicitly defined, check for the "DATASTORE_EMULATOR_HOST" environment variable, used to connect to a local Datastore server.

Parameters

optional
customApiEndpoint: string

Custom API endpoint.

Return Type

void

Usage

import { Datastore } from ".";