Skip to content
Snippets Groups Projects
Unverified Commit d236c0c3 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Merge pull request #203 from HumanBrainProject/hotfix_stagingPlugin

hotfix: PLUGIN_URLS bug
parents 5ee1957b 5b36a5d2
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,8 @@
const express = require('express')
const router = express.Router()
const PLUGIN_URLS = (process.env.PLUGIN_URLS && JSON.stringify(process.env.PLUGIN_URLS.split(';'))) || []
const STAGING_PLUGIN_URLS = (process.env.STAGING_PLUGIN_URLS && JSON.stringify(process.env.STAGING_PLUGIN_URLS.split(';'))) || []
const PLUGIN_URLS = (process.env.PLUGIN_URLS && process.env.PLUGIN_URLS.split(';')) || []
const STAGING_PLUGIN_URLS = (process.env.STAGING_PLUGIN_URLS && process.env.STAGING_PLUGIN_URLS.split(';')) || []
router.get('', (_req, res) => {
return res.status(200).json([
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment