fix bemo url in examples app (#4156)

tiny fix to account for recent config file churn 

### Change type

- [x] `bugfix`
- [ ] `improvement`
- [ ] `feature`
- [ ] `api`
- [ ] `other`
This commit is contained in:
David Sheldrick 2024-07-12 15:39:08 +01:00 committed by GitHub
parent e4bfae4172
commit 934c31574d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,11 +39,11 @@ function urlOrLocalFallback(mode: string, url: string | undefined, localFallback
const TLDRAW_BEMO_URL_STRING =
env === 'production'
? '"https://demo.tldraw.xyz"'
? 'https://demo.tldraw.xyz'
: env === 'canary'
? '"https://canary-demo.tldraw.xyz"'
? 'https://canary-demo.tldraw.xyz'
: PR_NUMBER
? `"https://pr-${PR_NUMBER}-demo.tldraw.xyz"`
? `https://pr-${PR_NUMBER}-demo.tldraw.xyz`
: undefined
export default defineConfig(({ mode }) => ({