Fix default config path

This commit is contained in:
Felipe Knorr Kuhn 2023-10-10 19:53:57 -07:00
parent a35c8be25c
commit e9e507af69
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

View File

@ -1,7 +1,7 @@
const fs = require('fs');
const path = require('path');
const configPath = process.env.UNFURLER_CONFIG || '../config.json';
const configPath = process.env.UNFURLER_CONFIG || './config.json';
const absolutePath = path.resolve(configPath);
let config;