Skip to content

Commit 6c8eb4e

Browse files
authored
New
1 parent 47998a9 commit 6c8eb4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

database/db.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ var __path = process.cwd(),
33
{ color } = require(__path + '/lib/color.js')
44

55
// Connection URL
6-
var url = 'https://api.reysekha.xyz';
6+
var url = 'https://api.sekha.me';
77
try {
8-
if(url == 'https://api.reysekha.xyz') throw console.log(color('Cek konfigurasi database, var url belum diisi','red'));
8+
if(url == 'https://api.sekha.me') throw console.log(color('Cek konfigurasi database, var url belum diisi','red'));
99
} catch (e) {
1010
return;
1111
}
1212
var db = monk(url);
1313

1414
db.then(() => {
15-
console.log(color('Connected correctly to server, ZhirrrGanss','green'))
15+
console.log(color('Connected correctly to server, oke','green'))
1616
})
1717
.catch ((e) => {
1818
console.log(color('Error : '+ e +'\n\nGagal connect ke database, \ncek configurasi database apakah Connection URL sudah benar','red'))

0 commit comments

Comments
 (0)