mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
feat(server): add apple-itunes-app meta tag on shage page (#13065)
disable on selfhosted close AF-2715  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added an Apple iTunes app association meta tag to the document share page for improved app integration, shown only in non-self-hosted environments. * **Tests** * Introduced end-to-end tests to verify the conditional presence of the Apple iTunes app meta tag based on the deployment environment. <!-- end of auto-generated comment: release notes by coderabbit.ai --> #### PR Dependency Tree * **PR #13065** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
@@ -171,6 +171,7 @@ export class DocRendererController {
|
||||
name="apple-mobile-web-app-status-bar-style"
|
||||
content="black-translucent"
|
||||
/>
|
||||
${env.selfhosted ? '' : '<meta name="apple-itunes-app" content="app-id=6736937980" />'}
|
||||
|
||||
<title>${title}</title>
|
||||
<meta name="theme-color" content="#fafafa" />
|
||||
|
||||
Reference in New Issue
Block a user