From 3aeeb450ddd090d853e932093c942952ccad5e2a Mon Sep 17 00:00:00 2001 From: mrcanelas Date: Wed, 5 Feb 2025 16:33:57 -0300 Subject: [PATCH] Add http:// to run local --- configure/src/lib/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure/src/lib/config.ts b/configure/src/lib/config.ts index acec46b..149e72a 100644 --- a/configure/src/lib/config.ts +++ b/configure/src/lib/config.ts @@ -42,5 +42,5 @@ export function generateAddonUrl(config: AddonConfig): string { // Converter o objeto em string e codificar para URL const encodedConfig = encodeURIComponent(JSON.stringify(cleanConfig)); - return `${window.location.host}/${encodedConfig}/manifest.json`; + return `http://${window.location.host}/${encodedConfig}/manifest.json`; } \ No newline at end of file