diff --git a/README.md b/README.md index 1553785f39..40485cedae 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,10 @@ The server configuration file (located at `/config.js`) contains default options base_url (Default: 'http://localhost') A web-accessible URL to your app, without the port + + upload_path + (Default: '/public/uploads') A relative path (relative to the application's web root) to the uploads folder. Please ensure that Node.js can write to this folder + use_port (Default: true) Whether or not to include the port number when constructing the url for use in NodeBB. If you are serving NodeBB via a proxy (i.e. nginx), switch this off. diff --git a/config.default.js b/config.default.js index 3ebaee8e95..e7a662b76b 100644 --- a/config.default.js +++ b/config.default.js @@ -6,7 +6,7 @@ var config = { "base_url": "http://localhost", // relative path for uploads - "upload_path": "/uploads/", + "upload_path": "/public/uploads/", "use_port": true, "port": 4567, diff --git a/public/templates/register.tpl b/public/templates/register.tpl index b21f73a333..d1856915d5 100644 --- a/public/templates/register.tpl +++ b/public/templates/register.tpl @@ -9,7 +9,7 @@
-

Alternative Logins

+

Alternative Registration