|
|
@ -8,8 +8,7 @@
|
|
|
|
const existingBaseUrl = window.localStorage.getItem("baseUrl");
|
|
|
|
const existingBaseUrl = window.localStorage.getItem("baseUrl");
|
|
|
|
if (existingBaseUrl === null || existingBaseUrl || existingBaseUrl.length === 0) {
|
|
|
|
if (existingBaseUrl === null || existingBaseUrl || existingBaseUrl.length === 0) {
|
|
|
|
document.write('<base href="/' + existingBaseUrl + '" />');
|
|
|
|
document.write('<base href="/' + existingBaseUrl + '" />');
|
|
|
|
if(existingBaseUrl.length === 0)
|
|
|
|
if (existingBaseUrl.length === 0) {
|
|
|
|
{
|
|
|
|
|
|
|
|
document.write("<link rel=\"stylesheet\" href='/loading.css'/>")
|
|
|
|
document.write("<link rel=\"stylesheet\" href='/loading.css'/>")
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
document.write("<link rel=\"stylesheet\" href='" + existingBaseUrl + "/loading.css'/>")
|
|
|
|
document.write("<link rel=\"stylesheet\" href='" + existingBaseUrl + "/loading.css'/>")
|
|
|
|