Skip to content

Commit

Permalink
tweaked dynamic links
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-ev committed Jan 15, 2020
1 parent ea0b643 commit 382543b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/core/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const sharp = require("sharp");

const dev = require("./dev-log");

ffmpeg.setFfmpegPath("../ffmpeg-4.1.3-armhf-static/ffmpeg");
ffmpeg.setFfmpegPath(path.join(global.ffmpegpath, "ffmpeg"));

module.exports = (function() {
const API = {
Expand Down
4 changes: 2 additions & 2 deletions src/core/recipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const fs = require("fs-extra"),
sharp = require("sharp"),
ffmpeg = require("fluent-ffmpeg");

ffmpeg.setFfmpegPath("../ffmpeg-4.1.3-armhf-static/ffmpeg");
ffmpeg.setFfprobePath("./ffmpeg-4.1.3-armhf-static/ffprobe");
ffmpeg.setFfmpegPath(path.join(global.ffmpegpath, "ffmpeg"));
ffmpeg.setFfprobePath(path.join(global.ffmpegpath, "ffprobe"));

module.exports = (function() {
return {
Expand Down
4 changes: 2 additions & 2 deletions src/core/thumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ sharp.cache(false);
const dev = require("./dev-log"),
api = require("./api");

ffmpeg.setFfmpegPath("../ffmpeg-4.1.3-armhf-static/ffmpeg");
ffmpeg.setFfprobePath("./ffmpeg-4.1.3-armhf-static/ffprobe");
ffmpeg.setFfmpegPath(path.join(global.ffmpegpath, "ffmpeg"));
ffmpeg.setFfprobePath(path.join(global.ffmpegpath, "ffprobe"));

module.exports = (function() {
const API = {
Expand Down

0 comments on commit 382543b

Please sign in to comment.