Really shitty external image resizing

This commit is contained in:
Madeline
2022-07-24 13:45:46 +10:00
parent 8ebbffe312
commit e304ee3203
7 changed files with 1161 additions and 164 deletions
+4
View File
@@ -50,6 +50,8 @@ export interface ConfigValue {
endpointClient: string | null;
endpointPublic: string | null;
endpointPrivate: string | null;
resizeHeightMax: number | null;
resizeWidthMax: number | null;
};
api: {
defaultVersion: string;
@@ -218,6 +220,8 @@ export const DefaultConfigOptions: ConfigValue = {
endpointClient: null,
endpointPrivate: null,
endpointPublic: null,
resizeHeightMax: 1000,
resizeWidthMax: 1000,
},
api: {
defaultVersion: "9",
+1 -1
View File
@@ -114,7 +114,7 @@ export class Message extends BaseClass {
@ManyToOne(() => Application)
application?: Application;
@Column({ nullable: true, type: "longtext" })
@Column({ nullable: true })
content?: string;
@Column()