Closed namelessjon closed 13 years ago
Awesome, thanks! I had a little bit of a dilemma thinking about people who have an XDB environment but already are using a .resty config dir, but I think an update to the README should be sufficient. I think people can manually copy the directories if they really want to.
These patches make resty default to using the XDG basedir spec by default. Host files (e,g.
localhost:5984
) are stored in$XDG_CONFIG_HOME/resty
whilst cookies and the host file are stored in$XDG_DATA_HOME/resty
. IfXDG_CONFIG_HOME
is undefined, the previous default of$HOME/.resty
is used.