The page cannot load as the JavaScript bundle from the Expo build is referenced from the root path, ...thub.io/_expo/static/js/..., but GitHub Pages serves it from a sub-path as ...thub.io/web-client/_expo/static/js/.... This config change tells Expo to add the appropriate base path on export for web.
The page cannot load as the JavaScript bundle from the Expo build is referenced from the root path,
...thub.io/_expo/static/js/...
, but GitHub Pages serves it from a sub-path as...thub.io/web-client/_expo/static/js/...
. This config change tells Expo to add the appropriate base path on export for web.See Expo docs on the topic here, https://docs.expo.dev/more/expo-cli/#hosting-with-sub-paths
Illustration
Proof that it works, from https://mblomdahl.github.io/web-client/: