From f7ea8487cc1875370beb82a7899ea930df9fc184 Mon Sep 17 00:00:00 2001 From: Seth Forsgren Date: Mon, 12 Dec 2022 11:53:14 -0800 Subject: [PATCH] updating share link origin --- components/Share.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Share.tsx b/components/Share.tsx index 6c8b227..6bd5c0b 100644 --- a/components/Share.tsx +++ b/components/Share.tsx @@ -93,7 +93,7 @@ export default function Share({ // alphaVelocity = nowPlayingResult.input.alpha_velocity } - var baseUrl = "http://localhost:3000/?" + var baseUrl = window.location.origin + "/?"; if (prompt != null) { var promptString = "&prompt=" + prompt } else { promptString = "" } if (seed != null) { var seedString = "&seed=" + seed } else { seedString = "" }