config.dev.js 241 B

1234567891011121314
  1. 'use strict';
  2. const { sep } = require('path');
  3. module.exports = appInfo => {
  4. const config = (exports = {});
  5. config.cdn = {
  6. repos_root_path: `${appInfo.baseDir}${sep}upload`,
  7. repos_root_url: '/files',
  8. };
  9. return config;
  10. };