File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
import './globals.css'
2
+
2
3
import NavBar from '@/components/NavBar'
3
- import { Roboto } from 'next/font/google'
4
4
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
+ }
5
12
6
13
const roboto = Roboto ( {
7
14
weight : [ '400' , '700' ] ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface Context {
21
21
}
22
22
23
23
const SOCKET_URL =
24
- process . env . NEXT_PUBLIC_SOCKET_URL || 'https ://cypherchat.lol :4000' ;
24
+ process . env . NEXT_PUBLIC_SOCKET_URL || 'http ://localhost :4000' ;
25
25
26
26
const socket = io ( SOCKET_URL , {
27
27
reconnection : true ,
You can’t perform that action at this time.
0 commit comments