Skip to content
Snippets Groups Projects
Commit b084c302 authored by Jürgen Voskuhl's avatar Jürgen Voskuhl
Browse files

Removed pathSegments[2] from rootFolder

parent 3c9f01be
No related branches found
No related tags found
1 merge request!86planning#1203: Standards
Pipeline #57650 waiting for manual action
......@@ -37,7 +37,7 @@ export default function ({ contentsString }) {
const pathSegments = currentPath.split('/') // Pfad in Segmente aufteilen
// Der Ordnername befindet sich in pathSegments[1]
const rootFolder = '/' + pathSegments[1] + '/' + pathSegments[2] + (pathSegments[2] != '' ? '/' : '')
const rootFolder = '/' + pathSegments[1] + '/'
// console.log(process.env.NEXT_PUBLIC_BASE_PATH)
// console.log(router)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment