Mercurial > eldonilo > avatar
view configuration.js @ 7:51cda3a6e1c3
Better handling of proxy connections; add an option to specify the root on the webserver.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 19 May 2011 19:36:53 +0200 |
parents | 9b2f17ea1594 |
children | e0cd5ede76af |
line wrap: on
line source
/* * Copyright (C) 2011 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> * * This file is the source code of an XMPP avatar retriever. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, version 3 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ 'use strict'; var config = exports; config.jid = 'avatar.example.org'; config.host = 'localhost'; config.port = 5347; config.password = 'hellohello'; config.webRoot = '^/avatar/'; config.directory = 'data'; // Directory of the cache. config.guessType = false; // When true, assume that the TYPE of the avatar is image/png if not specified.