finished first pass at updating relative paths
This commit is contained in:
parent
7ad111413c
commit
6bed683d9f
11 changed files with 29 additions and 29 deletions
|
@ -1,5 +1,5 @@
|
|||
const db = require('models');
|
||||
const logger = require('winston');
|
||||
const db = require('../models');
|
||||
|
||||
module.exports = {
|
||||
authenticateUser (channelName, channelId, channelPassword, user) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const { checkChannelAvailability } = require('controllers/publishController.js');
|
||||
const { sendGATimingEvent } = require('helpers/googleAnalytics.js');
|
||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
||||
const { checkChannelAvailability } = require('../../controllers/publishController.js');
|
||||
const { sendGATimingEvent } = require('../../helpers/googleAnalytics.js');
|
||||
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const { getChannelData } = require('controllers/serveController.js');
|
||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
||||
const { getChannelData } = require('../../controllers/serveController.js');
|
||||
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||
|
||||
const NO_CHANNEL = 'NO_CHANNEL';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
||||
const db = require('models');
|
||||
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||
const db = require('../../models');
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const { getClaimId } = require('controllers/serveController.js');
|
||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
||||
const { getClaimId } = require('../../controllers/serveController.js');
|
||||
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||
|
||||
const NO_CHANNEL = 'NO_CHANNEL';
|
||||
const NO_CLAIM = 'NO_CLAIM';
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
const { createBasicPublishParams, createThumbnailPublishParams, parsePublishApiRequestBody, parsePublishApiRequestFiles } = require('helpers/publishHelpers.js');
|
||||
const { claimNameIsAvailable, publish } = require('controllers/publishController.js');
|
||||
const { authenticateUser } = require('auth/authentication.js');
|
||||
const { sendGATimingEvent } = require('helpers/googleAnalytics.js');
|
||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
||||
const { details: { host } } = require('siteConfig.js');
|
||||
const { createBasicPublishParams, createThumbnailPublishParams, parsePublishApiRequestBody, parsePublishApiRequestFiles } = require('../../helpers/publishHelpers.js');
|
||||
const { claimNameIsAvailable, publish } = require('../../controllers/publishController.js');
|
||||
const { authenticateUser } = require('../../auth/authentication.js');
|
||||
const { sendGATimingEvent } = require('../../helpers/googleAnalytics.js');
|
||||
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||
const { details: { host } } = require('../../../config/siteConfig.js');
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const { resolveUri } = require('helpers/lbryApi.js');
|
||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
||||
const { resolveUri } = require('../../helpers/lbryApi.js');
|
||||
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
||||
const db = require('models');
|
||||
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||
const db = require('../../models');
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const { sendGAServeEvent } = require('helpers/googleAnalytics');
|
||||
const { determineResponseType, logRequestData, getClaimIdAndServeAsset } = require('helpers/serveHelpers.js');
|
||||
const lbryUri = require('helpers/lbryUri.js');
|
||||
const handleShowRender = require('helpers/handleShowRender.jsx');
|
||||
const { sendGAServeEvent } = require('../../helpers/googleAnalytics');
|
||||
const { determineResponseType, logRequestData, getClaimIdAndServeAsset } = require('../../helpers/serveHelpers.js');
|
||||
const lbryUri = require('../../helpers/lbryUri.js');
|
||||
const handleShowRender = require('../../helpers/handleShowRender.jsx');
|
||||
const SERVE = 'SERVE';
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
const { sendGAServeEvent } = require('helpers/googleAnalytics');
|
||||
const { sendGAServeEvent } = require('../../helpers/googleAnalytics');
|
||||
const {
|
||||
determineResponseType,
|
||||
flipClaimNameAndIdForBackwardsCompatibility,
|
||||
logRequestData,
|
||||
getClaimIdAndServeAsset,
|
||||
} = require('helpers/serveHelpers.js');
|
||||
const lbryUri = require('helpers/lbryUri.js');
|
||||
const handleShowRender = require('helpers/handleShowRender.jsx');
|
||||
} = require('../../helpers/serveHelpers.js');
|
||||
const lbryUri = require('../../helpers/lbryUri.js');
|
||||
const handleShowRender = require('../../helpers/handleShowRender.jsx');
|
||||
|
||||
const SERVE = 'SERVE';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const handlePageRender = require('helpers/handlePageRender.jsx');
|
||||
const handlePageRender = require('../../helpers/handlePageRender.jsx');
|
||||
|
||||
const sendReactApp = (req, res) => {
|
||||
handlePageRender(req, res);
|
||||
|
|
Loading…
Reference in a new issue