diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-17 21:42:47 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-17 21:42:47 +0100 |
commit | 15103f11ec54989a0dee7fc33daa458ecb116fe4 (patch) | |
tree | b25f8ee33f32ccd61df46afc27a2a4628f9f0be5 /server/controllers/client.js | |
parent | 1e4b0080ff1b4e802f71ec1f4cbf8cbcc70cdcbd (diff) | |
download | PeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.tar.gz PeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.tar.zst PeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.zip |
Server: paths refractoring
Diffstat (limited to 'server/controllers/client.js')
-rw-r--r-- | server/controllers/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/client.js b/server/controllers/client.js index 8c242af07..83243a4f7 100644 --- a/server/controllers/client.js +++ b/server/controllers/client.js | |||
@@ -12,7 +12,7 @@ const db = require('../initializers/database') | |||
12 | const router = express.Router() | 12 | const router = express.Router() |
13 | 13 | ||
14 | const opengraphComment = '<!-- opengraph tags -->' | 14 | const opengraphComment = '<!-- opengraph tags -->' |
15 | const distPath = path.join(__dirname, '../../client/dist') | 15 | const distPath = path.join(__dirname, '..', '..', 'client/dist') |
16 | const embedPath = path.join(distPath, 'standalone/videos/embed.html') | 16 | const embedPath = path.join(distPath, 'standalone/videos/embed.html') |
17 | const indexPath = path.join(distPath, 'index.html') | 17 | const indexPath = path.join(distPath, 'index.html') |
18 | 18 | ||