Skip to content

Commit a6cd374

Browse files
frontend: hide ADP features from Serverless
1 parent ac31fc7 commit a6cd374

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ export function isServerless() {
352352
}
353353

354354
export function isAdpEnabled() {
355-
return config.isAdpEnabled;
355+
return config.isAdpEnabled && !isServerless();
356356
}
357357

358358
export const embeddedAvailableRoutesObservable = observable({

0 commit comments

Comments
 (0)