MCPcopy Create free account
hub / github.com/codecombat/codecombat / fullFileUrl

Function fullFileUrl

app/views/podcast/podcastHelper.js:3–5  ·  view source on GitHub ↗
(relativePath)

Source from the content-addressed store, hash-verified

1const marked = require('marked')
2
3function fullFileUrl (relativePath) {
4 return `${window.location.protocol}//${window.location.host}/file/${relativePath}`
5}
6
7function podcastLinkRenderer () {
8 // https://github.com/markedjs/marked/issues/655#issuecomment-383226346

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected