diff --git a/Dockerfile b/Dockerfile index 2faff88..c9d605f 100755 --- a/Dockerfile +++ b/Dockerfile @@ -14,10 +14,6 @@ WORKDIR /usr/src/athena/build RUN yarn install --production -RUN mkdir .config - -RUN cd /.config - RUN touch .spotify EXPOSE 5555 diff --git a/app/Utils/SongUtils.ts b/app/Utils/SongUtils.ts index fb5f9b5..0af07be 100644 --- a/app/Utils/SongUtils.ts +++ b/app/Utils/SongUtils.ts @@ -39,7 +39,7 @@ export async function setupSpotify(code: string): Promise { if (authorization_tokens.status === 200) { writeFileSync( - '.config/.spotify', + '.spotify', JSON.stringify({ access: authorization_tokens.data.access_token, refresh: authorization_tokens.data.refresh_token, @@ -67,7 +67,7 @@ export async function regenerateTokens(): Promise { if (authorization_tokens.status === 200) { writeFileSync( - '.config/.spotify', + '.spotify', JSON.stringify({ access: authorization_tokens.data.access_token, refresh: authorization_tokens.data.refresh_token,