aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-10-03 21:13:03 -0300
committerPitu <[email protected]>2017-10-03 21:13:03 -0300
commit07bc30650608c2fcf23cd4aa74c82f8c8cc7ff75 (patch)
treea26e7519338fff124e318d6a88e3d5dc6a52d2a4
parenttabs pls (diff)
downloadhost.fuwn.me-07bc30650608c2fcf23cd4aa74c82f8c8cc7ff75.tar.xz
host.fuwn.me-07bc30650608c2fcf23cd4aa74c82f8c8cc7ff75.zip
New sample config
-rw-r--r--config.sample.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.sample.js b/config.sample.js
index 4555f3e..d32cd75 100644
--- a/config.sample.js
+++ b/config.sample.js
@@ -17,15 +17,15 @@ module.exports = {
If you set it to `true`, the uploaded files will be located after the host like:
https://lolisafe.moe/yourFile.jpg
- If you set it to `false`, you need to specify the domain in the setting right below `serveFilesWithNode`
- and make nginx directly serve whatever folder it is you are serving your downloads in. This also gives
- you the ability to serve them, for example, like this:
+ If you set it to `false`, you need to set nginx to directly serve whatever folder it is you are serving your
+ downloads in. This also gives you the ability to serve them, for example, like this:
https://files.lolisafe.moe/yourFile.jpg
- So ultimately, it's up to you.
+ Both cases require you to type the domain where the files will be served on the `domain` key below.
+ Which one you use is ultimately up to you.
*/
serveFilesWithNode: false,
- domain: '',
+ domain: 'https://lolisafe.moe',
// Port on which to run the server
port: 9999,