Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
feat: update meta info and share endpoint to production
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed May 13, 2021
1 parent 319f5f5 commit bd1ac0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/photos_repository/lib/src/photos_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ShareUrls {
final String twitterShareUrl;
}

const _shareUrl = 'https://io-photobooth-dev.web.app/share';
const _shareUrl = 'https://io-photobooth.web.app/share';

/// {@template photos_repository}
/// Repository that persists photos in a Firebase Storage.
Expand Down
6 changes: 3 additions & 3 deletions packages/photos_repository/test/photos_repository_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,19 @@ void main() {
expect(
shareUrls.explicitShareUrl,
equals(
'https://io-photobooth-dev.web.app/share/photo.jpg',
'https://io-photobooth.web.app/share/photo.jpg',
),
);
expect(
shareUrls.facebookShareUrl,
equals(
'https://www.facebook.com/sharer.php?u=https://io-photobooth-dev.web.app/share/photo.jpg&quote=Share%20text',
'https://www.facebook.com/sharer.php?u=https://io-photobooth.web.app/share/photo.jpg&quote=Share%20text',
),
);
expect(
shareUrls.twitterShareUrl,
equals(
'https://twitter.com/intent/tweet?url=https://io-photobooth-dev.web.app/share/photo.jpg&text=Share%20text',
'https://twitter.com/intent/tweet?url=https://io-photobooth.web.app/share/photo.jpg&text=Share%20text',
),
);
});
Expand Down
4 changes: 2 additions & 2 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<meta property="og:description" content="Take a photo at the Google I/O Photo Booth! Share it with friends and update your profile picture for the event.">
<meta property="og:title" content="Google I/O Photo Booth">
<meta property="og:url" content="https://photobooth.flutter.dev">
<meta property="og:image" content="https://firebasestorage.googleapis.com/v0/b/io-photobooth-dev.appspot.com/o/public%2Fphotobooth-metadata-image.jpeg?alt=media">
<meta property="og:image" content="https://firebasestorage.googleapis.com/v0/b/io-photobooth-20667.appspot.com/o/public%2Fphotobooth-metadata-image.jpeg?alt=media">

<meta name="twitter:text:title" content="Google I/O Photo Booth">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Google I/O Photo Booth">
<meta name="twitter:description" content="Take a photo at the Google I/O Photo Booth! Share it with friends and update your profile picture for the event.">
<meta name="twitter:image" content="https://firebasestorage.googleapis.com/v0/b/io-photobooth-dev.appspot.com/o/public%2Fphotobooth-metadata-image.jpeg?alt=media">
<meta name="twitter:image" content="https://firebasestorage.googleapis.com/v0/b/io-photobooth-20667.appspot.com/o/public%2Fphotobooth-metadata-image.jpeg?alt=media">

<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down

0 comments on commit bd1ac0e

Please sign in to comment.