 		thirdpartyreferences:
 			url: "http://#{process.env['THIRD_PARTY_REFERENCES_HOST'] or 'localhost'}:3046"
 		v1:
-			url: "http://#{process.env['V1_HOST'] or 'localhost'}:5000"
-			user: 'overleaf'
-			pass: 'password'
+			url: v1Api.url
+			user: v1Api.user
+			pass: v1Api.pass
 
 	templates:
 		user_id: process.env.TEMPLATES_USER_ID or "5395eb7aad1f29a88756c7f2"

httpAuthUsers[httpAuthUser] = httpAuthPass

sessionSecret = "secret-please-change"

module.exports = settings =


	redirects:
		"/templates/index": "/templates/"

	proxyUrls:
		'/institutions/list': { baseUrl: v1Api.url, path: '/universities/list' }
		'/institutions/domains': { baseUrl: v1Api.url, path: '/university/domains' }

	reloadModuleViewsOnEachRequest: true

