Skip to content

Commit

Permalink
Merge pull request #15 from phillip-che/phillip-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjunggg authored Dec 4, 2023
2 parents 80c6022 + 3475499 commit d9276b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Binary file added client/app/favicon.ico
Binary file not shown.
9 changes: 8 additions & 1 deletion client/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import './globals.css'

import NavBar from '@/components/NavBar'
import { Roboto } from 'next/font/google'
import SocketsProvider from '@/context/socket.context'
import { Roboto } from 'next/font/google'
import { Metadata } from 'next'

export const metadata: Metadata = {
title: "CypherChat",
description: "Chat privately with anyone with full anonymity"
}

const roboto = Roboto({
weight: ['400', '700'],
Expand Down
2 changes: 1 addition & 1 deletion client/context/socket.context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface Context {
}

const SOCKET_URL =
process.env.NEXT_PUBLIC_SOCKET_URL || 'https://cypherchat.lol:4000';
process.env.NEXT_PUBLIC_SOCKET_URL || 'http://localhost:4000';

const socket = io(SOCKET_URL, {
reconnection: true,
Expand Down

0 comments on commit d9276b2

Please sign in to comment.