From 371559a548a391ff50fa354e055530952acb8644 Mon Sep 17 00:00:00 2001 From: Davide Date: Sun, 15 May 2022 16:47:18 +0200 Subject: [PATCH] v1.1.23 --- craco.config.js | 8 -------- package.json | 2 +- src/common/api.js | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/craco.config.js b/craco.config.js index 3bd7f5e59..d18c688b3 100644 --- a/craco.config.js +++ b/craco.config.js @@ -9,7 +9,6 @@ /* eslint-disable no-param-reassign */ const CracoAntDesignPlugin = require('craco-antd'); -const webpack = require('webpack'); // const SentryCliPlugin = require('@sentry/webpack-plugin'); // const os = require('os'); // const packageJson = require('./package.json'); @@ -100,13 +99,6 @@ module.exports = () => { // console.log('Not a release. Skipping source maps upload.'); // } - if (process.env.REACT_CF_API_KEY) { - webpackConfig.plugins.push( - new webpack.EnvironmentPlugin({ - REACT_CF_API_KEY: process.env.REACT_CF_API_KEY - }) - ); - } webpackConfig.resolve.aliasFields = []; webpackConfig.resolve.mainFields = ['module', 'main']; webpackConfig.resolve.alias = { diff --git a/package.json b/package.json index 10ea09f9b..37688ebb0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gdlauncher", - "version": "1.1.22-beta.2", + "version": "1.1.23", "description": "GDLauncher is simple, yet powerful Minecraft custom launcher with a strong focus on the user experience", "keywords": [ "minecraft", diff --git a/src/common/api.js b/src/common/api.js index e73ead192..a53cd955d 100644 --- a/src/common/api.js +++ b/src/common/api.js @@ -20,7 +20,7 @@ import ga from './utils/analytics'; const axioInstance = axios.create({ headers: { - 'X-API-KEY': process.env.REACT_CF_API_KEY, + 'X-API-KEY': '$2a$10$5BgCleD8.rLQ5Ix17Xm2lOjgfoeTJV26a1BXmmpwrOemgI517.nuC', 'Content-Type': 'application/json', Accept: 'application/json' }