Prechádzať zdrojové kódy

Handle templates locally ok

James Allen 11 rokov pred
rodič
commit
9d97d1dc53

+ 1 - 0
services/filestore/.gitignore

@@ -56,6 +56,7 @@ test/unit/js/
 test/acceptence/js
 
 user_files/*
+template_files/*
 
 **.swp
 

+ 1 - 0
services/filestore/config/settings.defaults.coffee

@@ -21,6 +21,7 @@ module.exports =
 			# Must contain full path, e.g. "/var/lib/sharelatex/data".
 			# This path must exist, not be tmpfs and be writable to by the user sharelatex is run as.
 			user_files: Path.resolve(__dirname + "/../user_files")
+			template_files: Path.resolve(__dirname + "/../template_files")
 		# if you are using S3, then fill in your S3 details below
 		# s3:
 		# 	key: ""

+ 0 - 0
services/filestore/template_files/.gitignore