diff options
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/webpack.config.js b/webpack.config.js index 35c90a7..54b4030 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -70,6 +70,7 @@ module.exports = {          }]      },      devServer: { +        allowedHosts: ["pythondiscord.local"],  // hCaptcha don't support localhost (pythondiscord.local:3000)          contentBase: path.join(__dirname, 'public'),          compress: true,          port: 3000, @@ -93,7 +94,8 @@ module.exports = {          REACT_APP_SENTRY_DSN: "https://[email protected]/1234",          REACT_APP_OAUTH2_CLIENT_ID: "0",          BACKEND_URL: "https://forms-api.pythondiscord.com/", -        CONTEXT: "development" +        CONTEXT: "development", +        HCAPTCHA_SITEKEY: "10000000-ffff-ffff-ffff-000000000001"  // This is development key what don't add any protection      }), new HtmlWebpackPlugin({          inject: true,          template: 'public/index.html' | 
