Skip to content

Commit 330b828

Browse files
Adam RaineDevtools-frontend LUCI CQ
Adam Raine
authored and
Devtools-frontend LUCI CQ
committed
[RPP Observations] Configure .gitallowed to ignore CrUX API key
Bug: 349721878 Change-Id: I979816de544f7d20e583c61abedc40d2a5844b36 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5664436 Reviewed-by: Benedikt Meurer <[email protected]> Commit-Queue: Adam Raine <[email protected]>
1 parent a954bce commit 330b828

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitallowed

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This key is expected to be visible in the frontend code
2+
# b/349721878
3+
CRUX_API_KEY
4+

front_end/models/crux-manager/CrUXManager.ts

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import * as Common from '../../core/common/common.js';
66
import * as SDK from '../../core/sdk/sdk.js';
77

8+
// This key is expected to be visible in the frontend.
9+
// b/349721878
810
const CRUX_API_KEY = 'AIzaSyCCSOx25vrb5z0tbedCB3_JRzzbVW6Uwgw';
911
const DEFAULT_ENDPOINT = `https://chromeuxreport.googleapis.com/v1/records:queryRecord?key=${CRUX_API_KEY}`;
1012

0 commit comments

Comments
 (0)