Compare commits

...

2 Commits

Author SHA1 Message Date
Alicia Sykes 1bbb91b3fe 🐳 Change start command in Dockerfile (#1543) 2024-04-22 12:40:46 +01:00
Alicia Sykes d58cde69f6 🐛 Fix page title not being applied (#1544) 2024-04-22 12:25:09 +01:00
2 changed files with 9 additions and 4 deletions

View File

@ -42,7 +42,7 @@ RUN apk add --no-cache tzdata
COPY --from=BUILD_IMAGE /app ./
# Finally, run start command to serve up the built application
CMD [ "yarn", "build-and-start" ]
CMD [ "yarn", "start" ]
# Expose the port
EXPOSE ${PORT}

View File

@ -34,13 +34,18 @@ const HomeMixin = {
data: () => ({
searchValue: '',
}),
async mounted() {
// await this.getConfigForRoute();
},
watch: {
async $route() {
this.loadUpConfig();
},
pageInfo: {
handler(newPageInfo) {
if (newPageInfo && newPageInfo.title) {
document.title = newPageInfo.title;
}
},
immediate: true,
},
},
async created() {
this.loadUpConfig();