Merge pull request #19023 from overleaf/jpa-issue-19016

[web] lock down legacy endpoint for creating projects from zip

GitOrigin-RevId: 0c6b29d34c601d316b184d50d93e8e17f59bfcfb
This commit is contained in:
Jakob Ackermann 2024-06-20 16:34:13 +02:00 committed by Copybot
parent 922822d487
commit ac7916fb29
3 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,3 @@
FROM sharelatex/sharelatex:4.2.5
# Server Pro only hotfix

View file

@ -0,0 +1,3 @@
FROM sharelatex/sharelatex:5.0.5
# Server Pro only hotfix

View file

@ -11,6 +11,7 @@ const rateLimiter = new RateLimiter('create-project-from-template', {
})
module.exports = {
rateLimiter,
apply(app) {
app.get(
'/project/new/template/:Template_version_id',