Server: paths refractoring
[oweals/peertube.git] / server / controllers / client.js
index 8c242af07890d0b80188b2d5065d3429219cd018..83243a4f74b9a5d89d7dd5a58d2202484887dbae 100644 (file)
@@ -12,7 +12,7 @@ const db = require('../initializers/database')
 const router = express.Router()
 
 const opengraphComment = '<!-- opengraph tags -->'
-const distPath = path.join(__dirname, '../../client/dist')
+const distPath = path.join(__dirname, '..', '..', 'client/dist')
 const embedPath = path.join(distPath, 'standalone/videos/embed.html')
 const indexPath = path.join(distPath, 'index.html')