Expose maximum picture sizes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -75,6 +75,11 @@ export const CONFIG = gql`
|
||||
label
|
||||
}
|
||||
}
|
||||
uploadLimits {
|
||||
default
|
||||
avatar
|
||||
banner
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -89,4 +89,9 @@ export interface IConfig {
|
||||
ldap: boolean;
|
||||
oauthProviders: IOAuthProvider[];
|
||||
};
|
||||
uploadLimits: {
|
||||
default: number;
|
||||
avatar: number;
|
||||
banner: number;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user