Merge pull request #158 from arillo/feature/default-color-via-config

allow for custom color swatches via config/default.json
This commit is contained in:
banglashi
2021-02-06 00:14:22 +01:00
committed by GitHub
4 changed files with 46 additions and 18 deletions

View File

@@ -17,7 +17,8 @@
webHost: location.host,
webEndpoint: location.origin,
apiEndpoint: location.origin,
websocketsEndpoint: location.origin.replace("https:","wss:").replace("http:","ws:")
websocketsEndpoint: location.origin.replace("https:","wss:").replace("http:","ws:"),
options: <%- config.spacedeck ? JSON.stringify(config.spacedeck) : "{}" %>
};
</script>