summary refs log tree commit diff
path: root/src/api
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
commitd407d8ebe7ce34f3f85b5241ea6a1d0381b74e09 (patch)
tree099f8af27e5f7b27f0cfd43cc5c2bba0505b9957 /src/api
parentMake ConfigValue a directory, move defaults to those classes instead of a sep... (diff)
downloadserver-d407d8ebe7ce34f3f85b5241ea6a1d0381b74e09.tar.xz
Add additional config
Diffstat (limited to 'src/api')
-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);