remove baseUrl for uploads

This commit is contained in:
cynic 2025-09-05 20:30:39 +00:00
parent 776f00865d
commit c8cef76eb6

View File

@ -1,9 +1,9 @@
"use strict";
module.exports = {
public: true,
"use strict";
module.exports = {
public: true,
host: undefined,
port: 9000,
bind: undefined,
port: 9000,
bind: undefined,
reverseProxy: false,
maxHistory: 100000,
https: {
@ -12,14 +12,13 @@ module.exports = {
theme: "morning",
prefetch: true,
disableMediaPreview: false,
prefetchStorage: true,
prefetchStorage: false,
prefetchMaxImageSize: 6144,
prefetchMaxSearchSize: 50,
prefetchTimeout: 10000,
fileUpload: {
enable: true,
maxFileSize: 51200,
baseUrl: "http://%HS_NAME%/uploads/",
},
transports: ["polling", "websocket"],
leaveMessage: "https://chat.hackfreedom.org",