mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
fix: add comment
This commit is contained in:
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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user