diff --git a/Dockerfile b/Dockerfile index db4c6db..08cf255 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,10 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . +# Get the git commit hash +ARG GIT_REV +ENV GIT_REV ${GIT_REV} + # Set the environment to production ENV NODE_ENV=production diff --git a/webpack.config.js b/webpack.config.js index 765cf38..5b2b5f1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -20,8 +20,8 @@ module.exports = { plugins: [ new UserscriptPlugin({ metajs: false, - downloadBaseURL: 'https://ssu.fascinated.cc/scripts', - updateBaseURL: 'https://ssu.fascinated.cc/scripts', + downloadBaseURL: 'https://ssu.fascinated.cc/scripts/', + updateBaseURL: 'https://ssu.fascinated.cc/scripts/', headers: { name: "ScoreSaber Utils", author: "fascinated7 (discord)",