next-ai-editor 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1008,13 +1008,6 @@ function MessageList({
1008
1008
  ] });
1009
1009
  }
1010
1010
  function getServiceUrl() {
1011
- var _a, _b;
1012
- if (typeof window !== "undefined" && ((_a = window.env) == null ? void 0 : _a.NEXT_PUBLIC_AI_EDITOR_SERVICE_URL)) {
1013
- return window.env.NEXT_PUBLIC_AI_EDITOR_SERVICE_URL;
1014
- }
1015
- if (typeof process !== "undefined" && ((_b = process.env) == null ? void 0 : _b.NEXT_PUBLIC_AI_EDITOR_SERVICE_URL)) {
1016
- return process.env.NEXT_PUBLIC_AI_EDITOR_SERVICE_URL;
1017
- }
1018
1011
  if (typeof window !== "undefined") {
1019
1012
  const hostname = window.location.hostname;
1020
1013
  if (hostname === "localhost" || hostname === "127.0.0.1") {