Refactor server startup: elimina segfaults, añade leaflet-workaround
Retira import './segfaults' (workaround de crash obsoleto) y añade leaflet-workaround.js (shims global window/document/navigator para render de Leaflet en servidor). Ajustes menores en publications de FalsePositives y subsUnion.
This commit is contained in:
parent
8281fa3427
commit
2a31435135
5 changed files with 23 additions and 28 deletions
|
|
@ -5,7 +5,8 @@
|
|||
import { Meteor } from 'meteor/meteor';
|
||||
import { check } from 'meteor/check';
|
||||
import { NumberBetween } from '/imports/modules/server/other-checks';
|
||||
import L from 'leaflet-headless';
|
||||
import '/imports/startup/server/leaflet-workaround.js';
|
||||
import L from 'leaflet';
|
||||
import calcUnion from '/imports/ui/components/Maps/SubsUnion/Unify';
|
||||
import Industries from '/imports/api/Industries/Industries';
|
||||
import FalsePositives from '../FalsePositives';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue