🎨 cdn now also works without setting a public endpoint

This commit is contained in:
Flam3rboy
2021-10-09 14:46:59 +02:00
parent 0516357477
commit d5cdc9198c
2 changed files with 4 additions and 4 deletions
-3
View File
@@ -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: