mirror of
https://github.com/jambonz/jambonz-node.git
synced 2026-01-25 02:08:15 +00:00
lint
This commit is contained in:
@@ -14,7 +14,7 @@ const schema = JSON.parse(fs.readFileSync(schemaPath, 'utf8'));
|
|||||||
* @returns {Object} - Result with { success: boolean, config: Object, error: string }
|
* @returns {Object} - Result with { success: boolean, config: Object, error: string }
|
||||||
*/
|
*/
|
||||||
function getAppConfig({ urlPath, appJsonPath }) {
|
function getAppConfig({ urlPath, appJsonPath }) {
|
||||||
if (urlPath.length == 0 ) urlPath = "/";
|
if (urlPath.length == 0) urlPath = '/';
|
||||||
try {
|
try {
|
||||||
if (!appJsonPath) {
|
if (!appJsonPath) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user