Skip to content
Snippets Groups Projects
Commit bb7456e6 authored by Olivér FACKLAM's avatar Olivér FACKLAM
Browse files

knexfile path.resolve pour le .env

parent f6059ad7
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@
* et c'est knex_router.js qui donne la configuration de knex.js à proprement parler (i.e. les méthodes knex.insert(...) dans le code javascript)
* @author manifold
*/
require('dotenv').config();
const path = require('path');
require('dotenv').config({path: path.resolve('..', './.env')});
const knexConfig = {
migrations: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment