Skip to content

Commit

Permalink
upload .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
qridwan committed May 3, 2023
1 parent 783c6f0 commit dd53b50
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See config.ts for list of server config variables
# Look for REACT_APP_* for client config variables

NODE_ENV=development
# YOUTUBE_API_KEY=AIzaSyDnN7UR7Zsb-wd6nljSXHRrQXwgTGXq3kI
YOUTUBE_API_KEY=AIzaSyBHZsIf0ntfPYGVAS9RpNz3pEGXuDHlbkY
REACT_APP_FIREBASE_CONFIG={"apiKey":"AIzaSyA2fkXeFokJ-Ei_jnzDso5AmjbIaMdzuEc","authDomain":"watchparty-273604.firebaseapp.com","databaseURL":"https://watchparty-273604.firebaseio.com","projectId":"watchparty-273604","storageBucket":"watchparty-273604.appspot.com","messagingSenderId":"769614672795","appId":"1:769614672795:web:54bbda86288ab1a034273e"}
# FIREBASE_ADMIN_SDK_CONFIG=REPLACE_ME
# DATABASE_URL=postgresql://postgres@localhost:5432/postgres?sslmode=disable
# REDIS_URL=localhost:6379
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# misc
.DS_Store
.env
# .env
.env.local
.env.development.local
.env.test.local
Expand Down
3 changes: 2 additions & 1 deletion src/components/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export interface AppState {
isHome: boolean;
clipboard?: string | undefined;
isCollapsed: boolean;
isTheatre: boolean;
}

export default class App extends React.Component<AppProps, AppState> {
Expand Down Expand Up @@ -216,6 +217,7 @@ export default class App extends React.Component<AppProps, AppState> {
isHome: true,
clipboard: undefined,
isCollapsed: false,
isTheatre: false,
};
socket: Socket = null as any;
watchPartyYTPlayer: any = null;
Expand All @@ -225,7 +227,6 @@ export default class App extends React.Component<AppProps, AppState> {
screenSharePC?: RTCPeerConnection;
progressUpdater?: number;
heartbeat: number | undefined = undefined;

chatRef = React.createRef<Chat>();

async componentDidMount() {
Expand Down

0 comments on commit dd53b50

Please sign in to comment.