Initial commit
This commit is contained in:
8
frontend/utils/cdragon.js
Normal file
8
frontend/utils/cdragon.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const CDRAGON_BASE = "https://raw.communitydragon.org/latest/"
|
||||
|
||||
function mapPath(assetPath) {
|
||||
if(assetPath === undefined || assetPath === null) return ""
|
||||
return assetPath.toLowerCase().replace("/lol-game-data/assets/", "plugins/rcp-be-lol-game-data/global/default/")
|
||||
}
|
||||
|
||||
export { mapPath, CDRAGON_BASE}
|
||||
Reference in New Issue
Block a user