peertube-theme-nctv-dark/peertube-plugin-matomo/main.js
2019-07-26 09:43:20 +02:00

27 lines
480 B
JavaScript

async function register ({ registerHook, registerSetting, settingsManager, storageManager }) {
registerSetting({
name: 'url',
label: 'Matomo Url',
type: 'input',
private: false
})
registerSetting({
name: 'site-id',
label: 'Site id',
type: 'input',
private: false
})
}
async function unregister () {
return
}
module.exports = {
register,
unregister
}
// ############################################################################