Ignore .git store on Template uploads for editor and increase payload size to 10MB (fixes #12561)
Signed-off-by: Axel Hecht <axel@pike.org>
This commit is contained in:
@@ -148,7 +148,8 @@ export async function createRouter(
|
||||
options: RouterOptions,
|
||||
): Promise<express.Router> {
|
||||
const router = Router();
|
||||
router.use(express.json());
|
||||
// Be generous in upload size to support a wide rande of templates in dry-run mode.
|
||||
router.use(express.json({ limit: '10MB' }));
|
||||
|
||||
const {
|
||||
logger: parentLogger,
|
||||
|
||||
Reference in New Issue
Block a user