journal.pl/ijl.config.js

34 lines
668 B
JavaScript
Raw Permalink Normal View History

2022-11-27 16:34:37 +03:00
const pkg = require('./package')
module.exports = {
2024-04-09 21:25:36 +03:00
apiPath: 'stubs/api',
webpackConfig: {
output: {
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
2022-11-27 16:34:37 +03:00
},
2024-04-09 21:25:36 +03:00
},
navigations: {
'journal.main': '/journal.pl',
2024-08-29 11:55:10 +03:00
'exam.main': '/exam',
'link.exam.details': '/details/:courseId/:examId'
2024-04-09 21:25:36 +03:00
},
features: {
journal: {
'lesson.bar': {
on: true,
value: '',
key: 'lesson.bar',
},
'group.by.date': {
on: true,
value: '',
key: 'group.by.date',
},
2022-11-27 16:34:37 +03:00
},
2024-04-09 21:25:36 +03:00
},
config: {
'journal.back.url': '/api',
'journal.polling-interval': '10000',
},
2022-11-27 16:34:37 +03:00
}