File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "type" : " module" ,
77 "main" : " dist/worker.js" ,
88 "scripts" : {
9- "lt" : " npm run lt:cluster & npm run lt:ipfs-proxy" ,
9+ "lt" : " npm run lt:cluster & npm run lt:ipfs-proxy & npm run lt:postgrest " ,
1010 "lt:cluster" : " npx localtunnel --port 9094 --subdomain \" $(whoami)-cluster-api-nft-storage\" " ,
1111 "lt:ipfs-proxy" : " npx localtunnel --port 9095 --subdomain \" $(whoami)-ipfs-proxy-api-nft-storage\" " ,
12+ "lt:postgrest" : " npx localtunnel --port 3000 --subdomain \" $(whoami)-postgrest-nft-storage\" " ,
1213 "deploy" : " wrangler publish --env production" ,
1314 "dev" : " wrangler dev" ,
1415 "test" : " tsc && playwright-test \" test/**/*.spec.js\" --sw src/index.js" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export class DBClient {
1414 constructor ( url , token ) {
1515 this . client = new PostgrestClient ( url , {
1616 headers : {
17- apikey : token ,
17+ Authorization : `Bearer ${ token } ` ,
1818 } ,
1919 } )
2020 }
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ DEBUG = "*"
138138CLUSTER_API_URL = " https://alan-cluster-api-nft-storage.loca.lt"
139139CLUSTER_IPFS_PROXY_API_URL = " https://alan-ipfs-proxy-api-nft-storage.loca.lt/api/v0/"
140140CLUSTER_ADDRS = " "
141- DATABASE_URL = " http ://localhost:8000 "
141+ DATABASE_URL = " https ://alan-postgrest-nft-storage.loca.lt "
142142
143143[env .gozala ]
144144name =" nft-storage-gozala"
You can’t perform that action at this time.
0 commit comments