Przeglądaj źródła

added radix to parseInt() call

Miguel Serrano 6 lat temu
rodzic
commit
a1109d3a1e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      server-ce/settings.coffee

+ 1 - 1
server-ce/settings.coffee

@@ -213,7 +213,7 @@ settings =
 		collaborators: -1
 		dropbox: true
 		versioning: true
-		compileTimeout: parseInt(process.env["COMPILE_TIMEOUT"]) or 180
+		compileTimeout: parseInt(process.env["COMPILE_TIMEOUT"] or 180, 10)
 		compileGroup: "standard"
 		trackChanges: true
 		templates: true