Skip to content

Commit 41ab1a7

Browse files
author
Ted Ian Osias
committed
fix: dynamic public url
1 parent 1cf2c6b commit 41ab1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/global/Banner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
22
import { Link } from 'react-router-dom';
33
import { withTranslation } from "react-i18next";
44

5-
var publicurl=process.env.PUBLIC_URL;
5+
var publicurl=process.env.PUBLIC_URL ?? '__PUBLIC_URL__';
66

77
/**
88
* Component that shows the old banner of sysnode

0 commit comments

Comments
 (0)