Add dotenv setup

This commit is contained in:
Justin Edmund 2024-08-06 00:06:16 -07:00
parent af3a72dc8b
commit 1e75fb6d7d
3 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,4 @@
import 'dotenv/config'
import { promisify } from 'util'
import redis from '../redis-client'
import GiantBombAPI from 'giantbombing-api'

View file

@ -1,3 +1,4 @@
import 'dotenv/config'
import { Redis } from 'ioredis'
const redis = new Redis({

View file

@ -1,3 +1,4 @@
import 'dotenv/config'
import { error, json } from '@sveltejs/kit'
import redis from '../redis-client'
import SteamAPI, { Game, GameInfo, GameInfoExtended, UserPlaytime } from 'steamapi'