Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route #13

Merged
merged 12 commits into from
Sep 27, 2024
15 changes: 7 additions & 8 deletions 40-create-ghcred.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#/bin/sh

# Set default value for VUE_APP_PUBLIC_PATH if not provided
# Get VUE_APP_PUBLIC_PATH from Docker endpoint
Expand All @@ -22,10 +22,9 @@ ln -s /usr/share/nginx/html /usr/share/nginx/html/"$VUE_APP_PUBLIC_PATH"
sed -i "s+/myAppPlaceholder+$VUE_APP_PUBLIC_PATH+g" /usr/share/nginx/html/index.html
sed -i "s+/myAppPlaceholder+$VUE_APP_PUBLIC_PATH+g" /usr/share/nginx/html/js/app.*.js

# Create nginx config from environment variables
# # *prevent envsubst from killing nginx vars with 'tr' and '@'*
# cat <<EOT | envsubst | tr '@' '$' >/GH_OAUTH_CLIENT.conf
# set @CLIENT_ID $CLIENT_ID;
# set @CLIENT_SECRET $CLIENT_SECRET;
# set @CALL_BACK $CALL_BACK;
# EOT
# create nginx config from evironment# *prevent envsubst from killing nginx vars with 'tr' and '@'*
cat <<EOT | envsubst | tr '@' '$' >/GH_OAUTH_CLIENT.conf
set @CLIENT_ID $CLIENT_ID;
set @CLIENT_SECRET $CLIENT_SECRET;
set @CALL_BACK $CALL_BACK;

1 change: 0 additions & 1 deletion src/components/OsdComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export default {
// The users has selected an existing annotation
// console.log('selected annotation')
// console.log(annotation)
console.log("anno is clicked " , annotation)

})

Expand Down