mirror of https://github.com/lissy93/dashy
Compare commits
2 Commits
f68d65264c
...
1bbb91b3fe
Author | SHA1 | Date |
---|---|---|
Alicia Sykes | 1bbb91b3fe | |
Alicia Sykes | d58cde69f6 |
|
@ -42,7 +42,7 @@ RUN apk add --no-cache tzdata
|
||||||
COPY --from=BUILD_IMAGE /app ./
|
COPY --from=BUILD_IMAGE /app ./
|
||||||
|
|
||||||
# Finally, run start command to serve up the built application
|
# Finally, run start command to serve up the built application
|
||||||
CMD [ "yarn", "build-and-start" ]
|
CMD [ "yarn", "start" ]
|
||||||
|
|
||||||
# Expose the port
|
# Expose the port
|
||||||
EXPOSE ${PORT}
|
EXPOSE ${PORT}
|
||||||
|
|
|
@ -34,13 +34,18 @@ const HomeMixin = {
|
||||||
data: () => ({
|
data: () => ({
|
||||||
searchValue: '',
|
searchValue: '',
|
||||||
}),
|
}),
|
||||||
async mounted() {
|
|
||||||
// await this.getConfigForRoute();
|
|
||||||
},
|
|
||||||
watch: {
|
watch: {
|
||||||
async $route() {
|
async $route() {
|
||||||
this.loadUpConfig();
|
this.loadUpConfig();
|
||||||
},
|
},
|
||||||
|
pageInfo: {
|
||||||
|
handler(newPageInfo) {
|
||||||
|
if (newPageInfo && newPageInfo.title) {
|
||||||
|
document.title = newPageInfo.title;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
this.loadUpConfig();
|
this.loadUpConfig();
|
||||||
|
|
Loading…
Reference in New Issue