Variable withCredentials

withCredentials: boolean = false

indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates. Setting withCredentials has no effect on same-site requests.

withCredentials

false

loader

// enable withCredentials
me.loader.withCredentials = true;

// set all ressources to be loaded
me.loader.preload(game.resources, () => this.loaded());