mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-08 15:19:14 +02:00
That should be DATABASE_URL
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "16.2.1",
|
"version": "16.2.2",
|
||||||
"description": "A Discord Bot",
|
"description": "A Discord Bot",
|
||||||
"main": "shardingmanager.js",
|
"main": "shardingmanager.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const Sequelize = require('sequelize');
|
const Sequelize = require('sequelize');
|
||||||
|
|
||||||
const database = new Sequelize(process.env.DB_URL, { logging: false });
|
const database = new Sequelize(process.env.DATABASE_URL, { logging: false });
|
||||||
|
|
||||||
class Database {
|
class Database {
|
||||||
static get db() {
|
static get db() {
|
||||||
|
|||||||
Reference in New Issue
Block a user