You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
452 B

3 years ago
import Knex from 'knex'
import { Model } from 'objection'
3 years ago
3 years ago
const knex = Knex({
client: 'pg',
connection: {
host: process.env.DB_URL ?? 'localhost',
port: 5432,
user: 'postgres',
password: 'mariochatpgpw',
database: 'postgres',
},
3 years ago
})
3 years ago
Model.knex(knex)
3 years ago
3 years ago
const vapidKeys = {
publicKey:
'BEovcVTe3AmMJ8fpMahQqjr2shW74zBW6Imvih274_03nJg9m4hhUIAPc2Ur0_2aryAOXCA9eEulplz2y0CLfwY',
privateKey: 'DUT4Fn5r293-e5gTvpgiQtpU5yhjgwASulFZZclFaJg',
}