forked from ard/ruoyi-api

zhangjianrock@163.com
2024-04-28 883a15bbcbad503b084a5806b7deb99cfba6f539
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
}