Commit ad651a2 1 parent a0d333f commit ad651a2 Copy full SHA for ad651a2
File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11
11
12
12
# Get DSN with the command `npm run db:dsn`:
13
13
# EDGEDB_DSN="edgedb://username:password@localhost:port/edgedb"
14
+
15
+ # Note: when developing locally you will need to set tls security to insecure,
16
+ # because the development server uses self-signed certificates which will cause api calls with the fetch api to fail.
17
+ EDGEDB_CLIENT_TLS_SECURITY = insecure
18
+
14
19
# NEXT_PUBLIC_CLIENTVAR="bar"
Original file line number Diff line number Diff line change 1
1
import { createClient } from "edgedb" ;
2
2
3
- export const client = createClient ( {
4
- // Note: when developing locally you will need to set tls security to insecure,
5
- // because the development server uses self-signed certificates which will cause api calls with the fetch api to fail.
6
- tlsSecurity : "insecure" ,
7
- } ) ;
3
+ export const client = createClient ( ) ;
You can’t perform that action at this time.
0 commit comments