/**
 * Path Constants.
 *
 * @module server/constants/paths
 */

const path = require('path');

// Define file paths.
const ROOT = path.resolve(__dirname, '..');
const PUBLIC = `${ROOT}/public`;
const INDEX = `${ROOT}/public/index.html`;

module.exports = {
  INDEX,
  PUBLIC,
  ROOT,
};

/**
 * Path Constants.
 *
 * @module server/constants/paths
 */

const path = require('path');

// Define file paths.
const SERVER = path.resolve(__dirname, '..');
const PUBLIC = `${SERVER}/public`;
const INDEX = `${SERVER}/public/index.html`;

module.exports = {
  INDEX,
  PUBLIC,
  SERVER,
};

Rename constant ROOT to SERVER
Rename constant ROOT to SERVER
