From be7f43174662a33d3ff2c3ae3cf1ed032062f56f Mon Sep 17 00:00:00 2001 From: Isaac Date: Sat, 11 Mar 2023 00:11:54 +0000 Subject: [PATCH] fix: settings app needed `ORIGIN` environment variable --- src/http.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http.js b/src/http.js index f89a3a9..2ffea43 100644 --- a/src/http.js +++ b/src/http.js @@ -6,6 +6,7 @@ const { join } = require('path'); const { files } = require('node-dir'); const { PermissionsBitField } = require('discord.js'); +process.env.ORIGIN = process.env.HTTP_EXTERNAL; module.exports = async client => { // oauth2 plugin