Skip to content

Commit 84dafcf

Browse files
committed
fix(start): fix asset path for protected assets
1 parent 3196c54 commit 84dafcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/printers/start.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function prettyPrintAsset(
7171
const prefix = config.legacyMode ? '/asset' : '';
7272
const assetPath = prefix + asset.path;
7373
const pathAccess =
74-
asset.access === 'public'
74+
asset.access !== 'private'
7575
? config.url + assetPath
7676
: `Runtime.getAssets()['${asset.path}']`;
7777
const accessPrefix =

0 commit comments

Comments
 (0)