mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-03 06:23:22 -04:00
Update build scripts, constants, and Android configurations for improved web view handling and debugging
- Rename `proxy.ts` to `_proxy.ts` temporarily during build scripts and clean up backup files. - Adjust Compass URLs to consistently include "www." - Introduce WebView debugging toggle via `BuildConfig.ENABLE_WEBVIEW_DEBUG`. - Bump Android version code to 79 and enable `buildConfig` features.
This commit is contained in:
@@ -49,8 +49,16 @@ sed -i.bak 's/\bgetStaticPaths\b/_getStaticPaths/g' $USERNAME_PAGE
|
||||
# rename getServerSideProps to _getServerSideProps
|
||||
sed -i.bak 's/\bgetServerSideProps\b/_getServerSideProps/g' $HOME_PAGE
|
||||
|
||||
# rename proxy to _proxy
|
||||
mv proxy.ts _proxy.ts
|
||||
|
||||
yarn build
|
||||
|
||||
sed -i.bak 's/\b_getStaticProps\b/getStaticProps/g' $USERNAME_PAGE
|
||||
sed -i.bak 's/\b_getStaticPaths\b/getStaticPaths/g' $USERNAME_PAGE
|
||||
sed -i.bak 's/\b_getServerSideProps\b/getServerSideProps/g' $HOME_PAGE
|
||||
|
||||
mv _proxy.ts proxy.ts
|
||||
|
||||
# Remove backup files
|
||||
rm -f "$USERNAME_PAGE.bak" "$HOME_PAGE.bak"
|
||||
|
||||
Reference in New Issue
Block a user