Skip to content

Commit d9276b2

Browse files
authored
Merge pull request #15 from phillip-che/phillip-branch
2 parents 80c6022 + 3475499 commit d9276b2

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

client/app/favicon.ico

43.8 KB
Binary file not shown.

client/app/layout.tsx

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
import './globals.css'
2+
23
import NavBar from '@/components/NavBar'
3-
import { Roboto } from 'next/font/google'
44
import SocketsProvider from '@/context/socket.context'
5+
import { Roboto } from 'next/font/google'
6+
import { Metadata } from 'next'
7+
8+
export const metadata: Metadata = {
9+
title: "CypherChat",
10+
description: "Chat privately with anyone with full anonymity"
11+
}
512

613
const roboto = Roboto({
714
weight: ['400', '700'],

client/context/socket.context.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface Context {
2121
}
2222

2323
const SOCKET_URL =
24-
process.env.NEXT_PUBLIC_SOCKET_URL || 'https://cypherchat.lol:4000';
24+
process.env.NEXT_PUBLIC_SOCKET_URL || 'http://localhost:4000';
2525

2626
const socket = io(SOCKET_URL, {
2727
reconnection: true,

0 commit comments

Comments
 (0)