Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Commit 20a15cb

Browse files
fix: use IP for metadata server (#233)
1 parent 63bcb6d commit 20a15cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {request} from 'gaxios';
99
import {OutgoingHttpHeaders} from 'http';
1010
const jsonBigint = require('json-bigint');
1111

12-
export const HOST_ADDRESS = 'http://metadata.google.internal.';
12+
export const HOST_ADDRESS = 'http://169.254.169.254';
1313
export const BASE_PATH = '/computeMetadata/v1';
1414
export const BASE_URL = HOST_ADDRESS + BASE_PATH;
1515
export const HEADER_NAME = 'Metadata-Flavor';

0 commit comments

Comments
 (0)