journal.pl/ijl.config.js
Primakov Alexandr Alexandrovich efc359ce7e fix exam url
2024-08-29 11:55:10 +03:00

34 lines
668 B
JavaScript

const pkg = require('./package')
module.exports = {
apiPath: 'stubs/api',
webpackConfig: {
output: {
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
},
},
navigations: {
'journal.main': '/journal.pl',
'exam.main': '/exam',
'link.exam.details': '/details/:courseId/:examId'
},
features: {
journal: {
'lesson.bar': {
on: true,
value: '',
key: 'lesson.bar',
},
'group.by.date': {
on: true,
value: '',
key: 'group.by.date',
},
},
},
config: {
'journal.back.url': '/api',
'journal.polling-interval': '10000',
},
}