Unverified Commit 2c1ccda6 authored by iosmanthus's avatar iosmanthus
Browse files

make env VITE_FIREBASE_CONFIG more readable

parent f80a04e4
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -46,9 +46,15 @@ stdenv.mkDerivation rec {
    VITE_SENTRY_DSN = "https://e5bccf7428aa4e881ed5cb713fdff181@o4507542488023040.ingest.us.sentry.io/4507570439979008";
    VITE_OPENPANEL_CLIENT_ID = "0e477ab4-d92d-4d6e-b889-b09d86ab908e";
    VITE_OPENPANEL_API_URL = "https://openpanel.follow.is/api";
    VITE_FIREBASE_CONFIG = ''
      {"apiKey":"AIzaSyDuM93019tp8VI7wsszJv8ChOs7b1EE5Hk","authDomain":"follow-428106.firebaseapp.com","projectId":"follow-428106","storageBucket":"follow-428106.appspot.com","messagingSenderId":"194977404578","appId"":"1:194977404578:web:1920bb0c9ea5e2373669fb","measurementId":"G-SJE57D4F14"}
    '';
    VITE_FIREBASE_CONFIG = builtins.toJSON {
      apiKey = "AIzaSyDuM93019tp8VI7wsszJv8ChOs7b1EE5Hk";
      authDomain = "follow-428106.firebaseapp.com";
      projectId = "follow-428106";
      storageBucket = "follow-428106.appspot.com";
      messagingSenderId = "194977404578";
      appId = "1:194977404578:web:1920bb0c9ea5e2373669fb";
      measurementId = "G-SJE57D4F14";
    };
  };

  desktopItem = makeDesktopItem {