diff --git a/README.md b/README.md index 79587da..0d4f37c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Or, in order to build the project you can run the command ``go build main.go``. It will generate a binary that you can run as any binary file. ### Configure -Configure the gateway by editing the ``httpAuth.conf`` file in order to give all XMPP and HTTP server informations. This configuration file has to be placed following the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). +Configure the gateway by editing the ``httpAuth.conf`` file in order to give all XMPP and HTTP server informations. This configuration file has to be placed following the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) (example ``/etc/xdg/http-auth/httpAuth.conf``). An example of the config file can be found in [the repos](https://git.kingpenguin.tk/chteufleur/HTTPAuthentificationOverXMPP/src/master/httpAuth.conf). XMPP diff --git a/main.go b/main.go index 6838092..6e3dbf2 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ import ( const ( Version = "v0.5-dev" - configurationFilePath = "httpAuth.conf" + configurationFilePath = "http-auth/httpAuth.conf" PathConfEnvVariable = "XDG_CONFIG_DIRS" DefaultXdgConfigDirs = "/etc/xdg" )