Klip: Kutt like it's perfect. An easy to use self-hosted URL shortener. https://uwu.ryukyu/
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.
 
 
 
 

20 lines
383 B

  1. import env from "./server/env";
  2. module.exports = {
  3. production: {
  4. client: "postgresql",
  5. connection: {
  6. host: env.DB_HOST,
  7. database: env.DB_NAME,
  8. user: env.DB_USER,
  9. port: env.DB_PORT,
  10. password: env.DB_PASSWORD,
  11. ssl: env.DB_SSL,
  12. },
  13. migrations: {
  14. tableName: "knex_migrations",
  15. directory: "server/migrations"
  16. }
  17. }
  18. };