Advertisement
Guest User

localsettings.js

a guest
Mar 3rd, 2019
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. /*
  2. * This old / unusual way to configure Parsoid.
  3. *
  4. * You'll probably want to start in config.example.yaml
  5. * and only end up here if you need some sort of backwards compatibility
  6. * or to support non-static configuration.
  7. */
  8.  
  9. 'use strict';
  10.  
  11. exports.setup = function(parsoidConfig) {
  12. // Do something dynamic with `parsoidConfig` like,
  13. parsoidConfig.setMwApi({
  14. uri: 'http://wiki.domain.local/api.php',
  15. });
  16. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement