14 lines
305 B
JavaScript
14 lines
305 B
JavaScript
const path = require('path');
|
|
|
|
const __dirname = path.resolve();
|
|
|
|
function getSmileImage() {
|
|
return path.join(__dirname, '../sample/smile.png');
|
|
}
|
|
|
|
function getCatVideo() {
|
|
return path.join(__dirname, '../sample/cat.mp4');
|
|
}
|
|
|
|
exports.getSmileImage = getSmileImage;
|
|
exports.getCatVideo = getCatVideo; |