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 logger = require('winston');
|
||||||
|
const db = require('../models');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
authenticateUser (channelName, channelId, channelPassword, user) {
|
authenticateUser (channelName, channelId, channelPassword, user) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const { checkChannelAvailability } = require('controllers/publishController.js');
|
const { checkChannelAvailability } = require('../../controllers/publishController.js');
|
||||||
const { sendGATimingEvent } = require('helpers/googleAnalytics.js');
|
const { sendGATimingEvent } = require('../../helpers/googleAnalytics.js');
|
||||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const { getChannelData } = require('controllers/serveController.js');
|
const { getChannelData } = require('../../controllers/serveController.js');
|
||||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||||
|
|
||||||
const NO_CHANNEL = 'NO_CHANNEL';
|
const NO_CHANNEL = 'NO_CHANNEL';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||||
const db = require('models');
|
const db = require('../../models');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const { getClaimId } = require('controllers/serveController.js');
|
const { getClaimId } = require('../../controllers/serveController.js');
|
||||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||||
|
|
||||||
const NO_CHANNEL = 'NO_CHANNEL';
|
const NO_CHANNEL = 'NO_CHANNEL';
|
||||||
const NO_CLAIM = 'NO_CLAIM';
|
const NO_CLAIM = 'NO_CLAIM';
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
const { createBasicPublishParams, createThumbnailPublishParams, parsePublishApiRequestBody, parsePublishApiRequestFiles } = require('helpers/publishHelpers.js');
|
const { createBasicPublishParams, createThumbnailPublishParams, parsePublishApiRequestBody, parsePublishApiRequestFiles } = require('../../helpers/publishHelpers.js');
|
||||||
const { claimNameIsAvailable, publish } = require('controllers/publishController.js');
|
const { claimNameIsAvailable, publish } = require('../../controllers/publishController.js');
|
||||||
const { authenticateUser } = require('auth/authentication.js');
|
const { authenticateUser } = require('../../auth/authentication.js');
|
||||||
const { sendGATimingEvent } = require('helpers/googleAnalytics.js');
|
const { sendGATimingEvent } = require('../../helpers/googleAnalytics.js');
|
||||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||||
const { details: { host } } = require('siteConfig.js');
|
const { details: { host } } = require('../../../config/siteConfig.js');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const { resolveUri } = require('helpers/lbryApi.js');
|
const { resolveUri } = require('../../helpers/lbryApi.js');
|
||||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const { handleErrorResponse } = require('helpers/errorHandlers.js');
|
const { handleErrorResponse } = require('../../helpers/errorHandlers.js');
|
||||||
const db = require('models');
|
const db = require('../../models');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const { sendGAServeEvent } = require('helpers/googleAnalytics');
|
const { sendGAServeEvent } = require('../../helpers/googleAnalytics');
|
||||||
const { determineResponseType, logRequestData, getClaimIdAndServeAsset } = require('helpers/serveHelpers.js');
|
const { determineResponseType, logRequestData, getClaimIdAndServeAsset } = require('../../helpers/serveHelpers.js');
|
||||||
const lbryUri = require('helpers/lbryUri.js');
|
const lbryUri = require('../../helpers/lbryUri.js');
|
||||||
const handleShowRender = require('helpers/handleShowRender.jsx');
|
const handleShowRender = require('../../helpers/handleShowRender.jsx');
|
||||||
const SERVE = 'SERVE';
|
const SERVE = 'SERVE';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
const { sendGAServeEvent } = require('helpers/googleAnalytics');
|
const { sendGAServeEvent } = require('../../helpers/googleAnalytics');
|
||||||
const {
|
const {
|
||||||
determineResponseType,
|
determineResponseType,
|
||||||
flipClaimNameAndIdForBackwardsCompatibility,
|
flipClaimNameAndIdForBackwardsCompatibility,
|
||||||
logRequestData,
|
logRequestData,
|
||||||
getClaimIdAndServeAsset,
|
getClaimIdAndServeAsset,
|
||||||
} = require('helpers/serveHelpers.js');
|
} = require('../../helpers/serveHelpers.js');
|
||||||
const lbryUri = require('helpers/lbryUri.js');
|
const lbryUri = require('../../helpers/lbryUri.js');
|
||||||
const handleShowRender = require('helpers/handleShowRender.jsx');
|
const handleShowRender = require('../../helpers/handleShowRender.jsx');
|
||||||
|
|
||||||
const SERVE = 'SERVE';
|
const SERVE = 'SERVE';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const handlePageRender = require('helpers/handlePageRender.jsx');
|
const handlePageRender = require('../../helpers/handlePageRender.jsx');
|
||||||
|
|
||||||
const sendReactApp = (req, res) => {
|
const sendReactApp = (req, res) => {
|
||||||
handlePageRender(req, res);
|
handlePageRender(req, res);
|
||||||
|
|
Loading…
Reference in a new issue