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
22 lines
452 B
import Knex from 'knex'
|
|
import { Model } from 'objection'
|
|
|
|
const knex = Knex({
|
|
client: 'pg',
|
|
connection: {
|
|
host: process.env.DB_URL ?? 'localhost',
|
|
port: 5432,
|
|
user: 'postgres',
|
|
password: 'mariochatpgpw',
|
|
database: 'postgres',
|
|
},
|
|
})
|
|
|
|
Model.knex(knex)
|
|
|
|
const vapidKeys = {
|
|
publicKey:
|
|
'BEovcVTe3AmMJ8fpMahQqjr2shW74zBW6Imvih274_03nJg9m4hhUIAPc2Ur0_2aryAOXCA9eEulplz2y0CLfwY',
|
|
privateKey: 'DUT4Fn5r293-e5gTvpgiQtpU5yhjgwASulFZZclFaJg',
|
|
}
|