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