diff --git a/scripts/run.sh b/scripts/run.sh index 4b7cd9146..40c4bc1cf 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -18,8 +18,8 @@ sed -i "s/'\/api\/v1/'$VIKUNJA_API_URL/g" /usr/share/nginx/html/index.html sed -i "s/\.SENTRY_ENABLED = false/\.SENTRY_ENABLED = $VIKUNJA_SENTRY_ENABLED/g" /usr/share/nginx/html/index.html sed -i "s|\.SENTRY_DSN = '.*'|\.SENTRY_DSN = '$VIKUNJA_SENTRY_DSN'|g" /usr/share/nginx/html/index.html -sed -i "s/projecten 80/projecten $VIKUNJA_HTTP_PORT/g" /etc/nginx/nginx.conf -sed -i "s/projecten 443/projecten $VIKUNJA_HTTPS_PORT/g" /etc/nginx/nginx.conf +sed -i "s/listen 80/listen $VIKUNJA_HTTP_PORT/g" /etc/nginx/nginx.conf +sed -i "s/listen 443/listen $VIKUNJA_HTTPS_PORT/g" /etc/nginx/nginx.conf # Set the uid and gid of the nginx run user usermod --non-unique --uid ${PUID} nginx diff --git a/src/composables/useTaskList.ts b/src/composables/useTaskList.ts index 98e9437f1..75989e3af 100644 --- a/src/composables/useTaskList.ts +++ b/src/composables/useTaskList.ts @@ -98,7 +98,7 @@ export function useTaskList(projectId, sortByDefault = SORT_BY_DEFAULT) { }, { immediate: true }) - // Only projecten for query path changes + // Only listen for query path changes watch(() => JSON.stringify(getAllTasksParams.value), (newParams, oldParams) => { if (oldParams === newParams) { return diff --git a/src/sw.ts b/src/sw.ts index dde470e55..b59a36ef0 100644 --- a/src/sw.ts +++ b/src/sw.ts @@ -24,7 +24,7 @@ workbox.routing.registerRoute( new workbox.strategies.NetworkOnly(), ) -// This code projectens for the user's confirmation to update the app. +// This code listens for the user's confirmation to update the app. self.addEventListener('message', (e) => { if (!e.data) { return