diff options
| -rw-r--r-- | RULES.md | 1 | ||||
| -rw-r--r-- | backend/main.go | 2 |
2 files changed, 2 insertions, 1 deletions
| @@ -22,6 +22,7 @@ Both `.vtf` and `.vmt` files associated with these textures can be modified. | |||
| 22 | - Proof of your run must be recorded using demos. To start recording, type `record <demoname>` when entering the map, or use the SAR plugin with the command `sar_record_at 0`. | 22 | - Proof of your run must be recorded using demos. To start recording, type `record <demoname>` when entering the map, or use the SAR plugin with the command `sar_record_at 0`. |
| 23 | - A valid demo begins when the player can move and ends when the player touches the end flags. | 23 | - A valid demo begins when the player can move and ends when the player touches the end flags. |
| 24 | - For cooperative runs, both players must submit their demos. | 24 | - For cooperative runs, both players must submit their demos. |
| 25 | - For technical reasons, there is a 250 MB limit for demo files. If you have a demo file bigger than 250 MB that you need to submit, please contact an admin in the Discord server. | ||
| 25 | 26 | ||
| 26 | ### Console Commands & Cheats | 27 | ### Console Commands & Cheats |
| 27 | 28 | ||
diff --git a/backend/main.go b/backend/main.go index 26aa852..edbe7f8 100644 --- a/backend/main.go +++ b/backend/main.go | |||
| @@ -47,6 +47,6 @@ func main() { | |||
| 47 | // router.NoRoute(func(c *gin.Context) { | 47 | // router.NoRoute(func(c *gin.Context) { |
| 48 | // c.File("../frontend/build/index.html") | 48 | // c.File("../frontend/build/index.html") |
| 49 | // }) | 49 | // }) |
| 50 | router.MaxMultipartMemory = 500 << 20 // 500 mb limit for demos | 50 | router.MaxMultipartMemory = 250 << 20 // 250 mb limit for demos |
| 51 | router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) | 51 | router.Run(fmt.Sprintf(":%s", os.Getenv("PORT"))) |
| 52 | } | 52 | } |