Skip to content

Commit

Permalink
fix example serving (#3701)
Browse files Browse the repository at this point in the history
specifying an absolute URL as the public base is necessary since trunk 0.19
see also trunk-rs/trunk#668
  • Loading branch information
WorldSEnder authored Aug 3, 2024
1 parent b8d3e21 commit 620d907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ for path in examples/*; do
export RUSTFLAGS="-Zshare-generics=n -Clto=thin $RUSTFLAGS"
fi

trunk build --release --dist "$dist_dir" --public-url "$PUBLIC_URL_PREFIX$example"
trunk build --release --dist "$dist_dir" --public-url "$PUBLIC_URL_PREFIX/$example"

# check that there are no undefined symbols. Those generate an import .. from 'env',
# which isn't available in the browser.
Expand Down

0 comments on commit 620d907

Please sign in to comment.