parent
7e730ed0c9
commit
d1b0d85ecf
@ -17,7 +17,7 @@ ENV NEXT_TELEMETRY_DISABLED 1
|
|||||||
ARG GIT_REV
|
ARG GIT_REV
|
||||||
ENV GIT_REV ${GIT_REV}
|
ENV GIT_REV ${GIT_REV}
|
||||||
|
|
||||||
RUN echo "redis url: ${REDIS_URL}"
|
RUN echo "redis url: $REDIS_URL"
|
||||||
|
|
||||||
# Build the app
|
# Build the app
|
||||||
RUN pnpm run build
|
RUN pnpm run build
|
||||||
|
@ -20,8 +20,6 @@ async function connectRedis(): Promise<any> {
|
|||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo: add disconnect handler
|
|
||||||
|
|
||||||
export const Redis = {
|
export const Redis = {
|
||||||
client: redisClient,
|
client: redisClient,
|
||||||
connectRedis,
|
connectRedis,
|
||||||
|
Loading…
Reference in New Issue
Block a user