File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,16 @@ async function main() {
2121 const couchdbConfig = {
2222 type : 'couch' as const ,
2323 options : {
24- COUCHDB_SERVER_URL : process . env . COUCHDB_SERVER_URL || 'localhost:5984 ' ,
24+ COUCHDB_SERVER_URL : process . env . COUCHDB_SERVER_URL || 'localhost:5985 ' ,
2525 COUCHDB_SERVER_PROTOCOL : process . env . COUCHDB_SERVER_PROTOCOL || 'http' ,
2626 COUCHDB_USERNAME : process . env . COUCHDB_USERNAME || 'admin' ,
2727 COUCHDB_PASSWORD : process . env . COUCHDB_PASSWORD || 'password' ,
2828 } ,
2929 } ;
3030
31- console . error ( `Connecting to CouchDB at ${ couchdbConfig . options . COUCHDB_SERVER_PROTOCOL } ://${ couchdbConfig . options . COUCHDB_SERVER_URL } ` ) ;
31+ console . error (
32+ `Connecting to CouchDB at ${ couchdbConfig . options . COUCHDB_SERVER_PROTOCOL } ://${ couchdbConfig . options . COUCHDB_SERVER_URL } `
33+ ) ;
3234
3335 // Initialize data layer and get course DB
3436 await initializeDataLayer ( couchdbConfig ) ;
@@ -62,4 +64,4 @@ async function main() {
6264main ( ) . catch ( ( error ) => {
6365 console . error ( 'Unhandled error:' , error ) ;
6466 process . exit ( 1 ) ;
65- } ) ;
67+ } ) ;
You can’t perform that action at this time.
0 commit comments