🎨 cdn now also works without setting a public endpoint

This commit is contained in:
Flam3rboy committed 2021-10-09 14:46:59 +02:00
1 parent 7aeeb6833d
commit 6b44a7ada1
2 files changed
+4 -4

No files matched your search

-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: