mirror of
https://github.com/Nezumi-2711/Sink.git
synced 2026-09-22 13:48:35 +00:00
perf: The map is not packaged into the code to reduce the server size
This commit is contained in:
@@ -16,4 +16,4 @@ WorldMapTopoJSON.objects.states.geometries.map((state) => {
|
||||
return state
|
||||
})
|
||||
|
||||
writeFileSync(join(import.meta.dirname, '../assets/location/world-topo.json'), JSON.stringify(WorldMapTopoJSON), 'utf8')
|
||||
writeFileSync(join(import.meta.dirname, '../public/world.json'), JSON.stringify(WorldMapTopoJSON), 'utf8')
|
||||
|
||||
Reference in New Issue
Block a user