Closed hocuspocus97 closed 2 years ago
I managed to solve my issue, commenting in case someone else comes across the same.
The issue is in the following code:
src/index.ts
if (process.env.REDISTOGO_URL) {
var rtg = require('url').parse(process.env.REDISTOGO_URL);
var redis = require('redis').createClient(rtg.port, rtg.hostname);
redis.auth(rtg.auth.split(':')[1]);
} else {
var redis = require('redis').createClient();
}
process.env.REDISTOGO_URL
is written as REDIS_URL
in the extension so the code does not use it.
Master branch is used.
The proxy is hosted on heroku, supabase is setup and the correct env variables are there.
I get the following error:
I am using the Heroku Data for Redis addon since RedisToGo has been shut down.
Any ideas what I am doing wrong?