added better favicons, moved from sass to glamor, moved components
and utils to src dir, and removed packages no longer being used
This commit is contained in:
8
src/util/stripPrefix.js
Normal file
8
src/util/stripPrefix.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const pathPrefix = require('./pathPrefix')
|
||||
|
||||
module.exports = url => {
|
||||
if (pathPrefix !== '/') {
|
||||
url = url.split(pathPrefix).join('')
|
||||
}
|
||||
return url
|
||||
}
|
||||
Reference in New Issue
Block a user