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
Can you please expose server url property so when server is already running, we can access the url without starting it again.
// example use case
let server = new StaticServer(8080, path, { keepAlive: true });
if (!server.running) {
var url = await server.start();
console.log("Server URL", url);
} else {
// get server url
var url = server.serverUrl;
}
One more question => Should we have only single instance of server with in the app? What is server initialization recommendation?
The text was updated successfully, but these errors were encountered:
Hi
Can you please expose server url property so when server is already running, we can access the url without starting it again.
One more question => Should we have only single instance of server with in the app? What is server initialization recommendation?
The text was updated successfully, but these errors were encountered: