1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-23 23:11:12 +02:00

fix share url

This commit is contained in:
Kushagra Gour
2024-05-09 17:38:14 +05:30
parent 91235e005d
commit 1e119c91e4
2 changed files with 1098 additions and 603 deletions

1697
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,9 @@ import { Icon } from './Icons';
import { Text } from './Text';
const FREE_PUBLIC_ITEM_COUNT = 1;
const BASE_URL = location.origin;
const BASE_URL = location.origin.includes('chrome-extension://')
? 'webmaker.app'
: location.origin;
const TOGGLE_VISIBILITY_API =
/*!window.location.origin.includes('localhost')
? 'http://127.0.0.1:5001/web-maker-app/us-central1/toggleVisibility'