Merge pull request #4001 from balena-io/aethernet/standalone-efp

move EFP & success-banner to efp.balena.io
This commit is contained in:
Balena CI 2023-02-02 19:22:27 +02:00 committed by GitHub
commit c3257216c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ function restart(goToMain: () => void) {
async function getSuccessBannerURL() {
return (
(await settings.get('successBannerURL')) ??
'https://www.balena.io/etcher/success-banner?borderTop=false&darkBackground=true'
'https://efp.balena.io/success-banner?borderTop=false&darkBackground=true'
);
}

View File

@ -148,7 +148,7 @@ export class MainPage extends React.Component<
private async getFeaturedProjectURL() {
const url = new URL(
(await settings.get('featuredProjectEndpoint')) ||
'https://assets.balena.io/etcher-featured/index.html',
'https://efp.balena.io/index.html',
);
url.searchParams.append('borderRight', 'false');
url.searchParams.append('darkBackground', 'true');