You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 11, 2022. It is now read-only.
1- When loading custom config file , below error is thrown however file exists in the host server and also it can be seen inside the docker.
import { render } from 'inferno'
import { App } from "./components/App"
import { Logquacious } from "./services/Logquacious"
import { Error } from "./components/Error"
const app = document.getElementById('app')
export async function loadConfig() {
try {
const resp = await fetch("config.json")
const manager = new Logquacious(await resp.json())
render(, app)
} catch (e) {
// tslint:disable-next-line:no-console
console.log(e)
// tslint:disable-next-line:no-console
console.error("Could not load config.json. Please place it in the same path as index.html.")
render((
<Error message={`There was an error loading config.json: ${e}`} visible={true}/>
), app)
}
}
loadConfig()
render(Loading Logquacious, app)
2- ES logs are not shown in the screen only index.html page is displayed.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
1- When loading custom config file , below error is thrown however file exists in the host server and also it can be seen inside the docker.
import { render } from 'inferno'
import { App } from "./components/App"
import { Logquacious } from "./services/Logquacious"
import { Error } from "./components/Error"
const app = document.getElementById('app')
export async function loadConfig() {
try {
const resp = await fetch("config.json")
const manager = new Logquacious(await resp.json())
render(, app)
} catch (e) {
// tslint:disable-next-line:no-console
console.log(e)
// tslint:disable-next-line:no-console
console.error("Could not load config.json. Please place it in the same path as index.html.")
}
}
loadConfig()
render(Loading Logquacious, app)
2- ES logs are not shown in the screen only index.html page is displayed.
The text was updated successfully, but these errors were encountered: