summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorLobo Metalúrgico <43734867+LoboMetalurgico@users.noreply.github.com>2021-10-09 23:44:59 -0300
committerGitHub <noreply@github.com>2021-10-09 23:44:59 -0300
commitd359652b24a7f6f1cef7f9824a484355fc8586db (patch)
tree07e33dbfd0e46217e97f3cc6bd8937e83490b4a7 /bundle
parent(api): fix some issues (diff)
parent:sparkles: random guest username generation added (diff)
downloadserver-d359652b24a7f6f1cef7f9824a484355fc8586db.tar.xz
Merge branch 'fosscord:master' into milestoneV1/routes/implement/emojis
Diffstat (limited to '')
-rw-r--r--bundle/scripts/build.js2
-rw-r--r--bundle/src/Server.ts3
2 files changed, 1 insertions, 4 deletions
diff --git a/bundle/scripts/build.js b/bundle/scripts/build.js

index 05cf37ce..4266942f 100644 --- a/bundle/scripts/build.js +++ b/bundle/scripts/build.js
@@ -89,7 +89,7 @@ function walk(dir) { var results = []; var list = fs.readdirSync(dir); list.forEach(function (file) { - file = dir + "/" + file; + file = path.join(dir, file); var stat = fs.statSync(file); if (stat && stat.isDirectory()) { /* Recurse into a subdirectory */ diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts
index 662b9008..5dda2d02 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts
@@ -30,9 +30,6 @@ async function main() { cdn: { endpointClient: "${location.host}", endpointPrivate: `http://localhost:${port}`, - ...(!Config.get().cdn.endpointPublic && { - endpointPublic: `http://localhost:${port}`, - }), }, gateway: { endpointClient: