Skip to content

Commit

Permalink
fix: restores back from local dev settings
Browse files Browse the repository at this point in the history
  • Loading branch information
nostrdev-com committed Dec 20, 2024
1 parent 7ca0c9e commit 94783c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/proxy.conf.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const FRONTEND_CONFIG_FILE_NAME = 'mempool-frontend-config.json';

let configContent;

// Read frontend config
// Read frontend config
try {
const rawConfig = fs.readFileSync(FRONTEND_CONFIG_FILE_NAME);
configContent = JSON.parse(rawConfig);
Expand Down Expand Up @@ -35,7 +35,7 @@ if (configContent && configContent.BASE_MODULE === 'liquid') {
},
{
context: ['/liquid/api/**'],
target: `http://localhost:8998`,
target: `http://localhost:8999`,
secure: false,
changeOrigin: true,
proxyTimeout: 30000,
Expand Down Expand Up @@ -70,7 +70,7 @@ if (configContent && configContent.BASE_MODULE === 'liquid') {
PROXY_CONFIG.push(...[
{
context: ['/testnet/api/v1/lightning/**'],
target: `http://localhost:8998`,
target: `http://localhost:8999`,
secure: false,
changeOrigin: true,
proxyTimeout: 30000,
Expand All @@ -88,15 +88,15 @@ PROXY_CONFIG.push(...[
},
{
context: ['/api/v1/**'],
target: `http://localhost:8998`,
target: `http://localhost:8999`,
secure: false,
ws: true,
changeOrigin: true,
proxyTimeout: 30000,
},
{
context: ['/api/**'],
target: `http://localhost:8998`,
target: `http://localhost:8999`,
secure: false,
changeOrigin: true,
proxyTimeout: 30000,
Expand All @@ -108,4 +108,4 @@ PROXY_CONFIG.push(...[

console.log(PROXY_CONFIG);

module.exports = PROXY_CONFIG;
module.exports = PROXY_CONFIG;

0 comments on commit 94783c1

Please sign in to comment.