Log on preload
This commit is contained in:
parent
6a49036da9
commit
550b926a15
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
||||||
* const env = require('url').parse(window.location, true).query;
|
* const env = require('url').parse(window.location, true).query;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
console.log('preload');
|
||||||
|
|
||||||
window.env = {};
|
window.env = {};
|
||||||
window.location.search.substring(1).split('&').forEach(function(variable) {
|
window.location.search.substring(1).split('&').forEach(function(variable) {
|
||||||
var pair = variable.split('=');
|
var pair = variable.split('=');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue