UNPKG

nodebb-plugin-smoothshorts

Version:

Seamless short URLs for topic and post links in NodeBB.

26 lines (20 loc) 718 B
'use strict'; var settings = require('./settings'); var services = { loadedModules: [ /* { id: 'nodebb-plugin-shorturls-googl', // build from settings.serviceModules name: 'Goo.gl', // from plugin info: 'Google\'s URL shortener service', // from plugin apiKey: 'AIzaSyA2wTny5ZH2JGy55XURsDMlGjqXIhBtGnY', // from DB getShort: function(longURL, key) => {string} shortURL, // from plugin } */ ] }; services.loadInstalled = function() { settings.serviceModules.forEach(function(service) {}); }; services.installModule = function() {}; module.exports = services;