Skip to content

Commit 6ed7b78

Browse files
authored
fix(docs): ASSET_PREFIX for future rewrites from tldraw.dev (tldraw#8766)
Before tldraw#8665 we need to test the ASSET_PREFIX env variable, this would not break the docs in case the SDK / new docs are released before ### Change type - [ ] `bugfix` - [x] `improvement` - [ ] `feature` - [ ] `api` - [ ] `other` ### Test plan 1. Go to staging.tldraw.dev 2. Nothing's broken XD
1 parent 0167b26 commit 6ed7b78

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/docs/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const REWRITE_DOMAIN = 'tldrawdotdev.framer.website'
55

66
const nextConfig = {
77
reactStrictMode: true,
8+
assetPrefix: process.env.ASSET_PREFIX || undefined,
89
experimental: {
910
scrollRestoration: true,
1011
},

0 commit comments

Comments
 (0)