forked from ard/ruoyi-api

Administrator
2023-08-03 81a00e19f33166f541da16a52a575ae9b6a62b2a
1
2
3
4
5
6
7
const path = require('path')
 
module.exports = function getAssetPath (options, filePath) {
  return options.assetsDir
    ? path.posix.join(options.assetsDir, filePath)
    : filePath
}