We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1570672 commit 5e7dc21Copy full SHA for 5e7dc21
src/app.ts
@@ -21,6 +21,10 @@ type RSEndpointKey = keyof typeof RS_ENDPOINTS;
21
* @returns The URL for the records endpoint.
22
*/
23
function getRecordsUrl(rsOrigin: string): string {
24
+ // Allow ENV to override the URL for testing.
25
+ if (import.meta.env.VITE_RS_RECORDS_URL) {
26
+ return import.meta.env.VITE_RS_RECORDS_URL;
27
+ }
28
return `${rsOrigin}/v1/buckets/main/collections/url-classifier-exceptions/records`;
29
}
30
0 commit comments