fix: add comment

This commit is contained in:
Andras Bacsai committed 2022-08-15 14:37:04 +02:00
1 parent 54bb9b2cd7
commit 03d03ea7f1
1 file changed
+1
@@ -23,6 +23,7 @@ const getHost = () => {
if (env.PUBLISHER_ENDPOINT && env.PUBLISHER_HOST) {
return env.PUBLISHER_HOST;
}
// We use location.host to get the hostname and port in development mode and to not break local testing.
return env.DESIGNER_HOST || location.host;
};