mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
minor
This commit is contained in:
parent
b2b5f552a0
commit
306f636978
3 changed files with 4 additions and 4 deletions
|
@ -51,7 +51,7 @@ export default {
|
||||||
return this.in_past ? this.filteredEventsWithPast : this.filteredEvents
|
return this.in_past ? this.filteredEventsWithPast : this.filteredEvents
|
||||||
},
|
},
|
||||||
...mapGetters(['filteredEvents', 'filteredEventsWithPast']),
|
...mapGetters(['filteredEvents', 'filteredEventsWithPast']),
|
||||||
...mapState(['events', 'settings', 'in_past'])
|
...mapState(['settings', 'in_past'])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -28,8 +28,8 @@ module.exports = {
|
||||||
}],
|
}],
|
||||||
icon: {
|
icon: {
|
||||||
type: 'Image',
|
type: 'Image',
|
||||||
mediaType: 'image/x-icon',
|
mediaType: 'image/png',
|
||||||
url: config.baseurl + '/favicon.ico'
|
url: config.baseurl + '/gancio.png'
|
||||||
},
|
},
|
||||||
publicKey: {
|
publicKey: {
|
||||||
id: `${config.baseurl}/federation/u/${name}#main-key`,
|
id: `${config.baseurl}/federation/u/${name}#main-key`,
|
||||||
|
|
|
@ -17,7 +17,7 @@ router.use((req, res, next) => {
|
||||||
// ignore unimplemented ping url from fediverse
|
// ignore unimplemented ping url from fediverse
|
||||||
router.use(spamFilter)
|
router.use(spamFilter)
|
||||||
|
|
||||||
router.use('/favicon.ico', express.static(path.resolve(config.favicon || 'assets/favicon.ico')))
|
router.use('/favicon.ico', express.static(path.resolve(config.favicon || './assets/favicon.ico')))
|
||||||
router.use('/media/', express.static(config.upload_path))
|
router.use('/media/', express.static(config.upload_path))
|
||||||
router.get('/feed/:type', exportController.export)
|
router.get('/feed/:type', exportController.export)
|
||||||
router.use('/api', api)
|
router.use('/api', api)
|
||||||
|
|
Loading…
Reference in a new issue