summary refs log tree commit diff
path: root/src/api/util/utility
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-19 16:51:24 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-19 16:51:24 +1100
commit518fc966c9156f27124c595d8b371394b8f9b4a3 (patch)
tree40d087bc8439f9d647fcae82a88ae7dc23107aea /src/api/util/utility
parentMake ConfigValue a directory, move defaults to those classes instead of a sep... (diff)
downloadserver-518fc966c9156f27124c595d8b371394b8f9b4a3.tar.xz
Add additional config
Diffstat (limited to 'src/api/util/utility')
-rw-r--r--src/api/util/utility/EmbedHandlers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/util/utility/EmbedHandlers.ts b/src/api/util/utility/EmbedHandlers.ts
index a8738a4a..dca264d0 100644
--- a/src/api/util/utility/EmbedHandlers.ts
+++ b/src/api/util/utility/EmbedHandlers.ts
@@ -18,7 +18,7 @@ export const DEFAULT_FETCH_OPTIONS: any = {
 
 export const getProxyUrl = (url: URL, width: number, height: number): string => {
 	const { resizeWidthMax, resizeHeightMax, imagorServerUrl } = Config.get().cdn;
-	const secret = Config.get().security.jwtSecret;	// maybe shouldn't use this?
+	const secret = Config.get().security.requestSignature;
 	width = Math.min(width || 500, resizeWidthMax || width);
 	height = Math.min(height || 500, resizeHeightMax || width);