Allow providing login form details via GET params (#140)
* Allow providing login form details via GET params * add http:// to serverURL if it's only domian name * update readme
This commit is contained in:

committed by
GitHub

parent
1570ca5485
commit
915e3564f8
@@ -8,7 +8,12 @@ import { AppContext } from "./AppContext";
|
||||
import storage from "./storage";
|
||||
|
||||
// load config.json
|
||||
let props: Config = {};
|
||||
let props: Config = {
|
||||
restrictBaseUrl: [],
|
||||
asManagedUsers: [],
|
||||
supportURL: "",
|
||||
menu: [],
|
||||
};
|
||||
try {
|
||||
const resp = await fetch("config.json");
|
||||
const configJSON = await resp.json();
|
||||
|
Reference in New Issue
Block a user